bitandblack/indesign-characters

Characters used by Adobe InDesign

1.0.0 2022-11-21 20:45 UTC

This package is auto-updated.

Last update: 2024-11-22 01:26:17 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 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.