bitandblack / indesign-characters
Characters used by Adobe InDesign
1.0.0
2022-11-21 20:45 UTC
Requires
- php: >=7.4
Requires (Dev)
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^9.5
- rector/rector: ^0
- symplify/easy-coding-standard: ^11.0
Suggests
- bitandblack/idml-creator: Creating IDML files with PHP
- bitandblack/idml-writer: Writing IDML files with PHP
README
InDesign Characters
Characters used by Adobe InDesign. Helpful when creating IDML files.
Installation
This library is made for the use with Composer. Add it to your project by running $ composer require bitandblack/indesign-characters
.
Usage
This library provides a collection of special characters used by Adobe InDesign. At the moment there are:
- Spaces like the em space, or the hair space
- Breaks like the forced line break
- Hyphens like the discretionary hyphen
You can access those characters statically, for example by calling:
<?php
use BitAndBlack\InDesignCharacters\Space;
var_dump(Space::getHairSpace());
Don't worry if those characters look like normal whitespaces or linebreaks: they'll do their work.
Help
If you have any questions feel free to contact us under hello@bitandblack.com
.
Further information about Bit&Black can be found under www.bitandblack.com.