Typography

There are a lot of special characters in Adobe InDesign, which aren't difficult to access. IDML-Creator provides some classes to access those characters.

Table of Contents

Break characters

To get a specific break character just call the class BreakCharacter with its static methods, for example:

<?php

use IDML\Typography\BreakCharacter;

$lineBreak = BreakCharacter::getForcedLineBreak();

Insert this one to a story.

Spaces

To get a specific space just call the class Space with its static methods, for example:

<?php

use IDML\Typography\Space;

$emSpace = Space::getEmSpace();

Insert this one to a story.