Typography

There are a lot of special characters in Adobe InDesign, which aren't difficult to access. IDML-Creator makes use of bitandblack/indesign-characters to access those characters.

Table of Contents

Break characters

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

<?php

use BitAndBlack\InDesignCharacters\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 BitAndBlack\InDesignCharacters\Space;

$emSpace = Space::getEmSpace();

Insert this one to a story.