bitandblack/indesign-characters

Characters used by Adobe InDesign

0.2.0 2020-09-30 09:12 UTC

This package is auto-updated.

Last update: 2020-10-30 09:32:15 UTC


README

PHP from Packagist Codacy Badge Total Downloads License

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 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.