GlyphList

object GlyphList

The Adobe Glyph List: PostScript glyph name (e.g. "Adieresis", "fi") to Unicode codepoint.

AGL is published by Adobe and may be redistributed; see the NOTICE file for the attribution this project carries for it. A simple font names its glyphs, so this is what turns those names into text (Encodings supplies the names for the four encodings PDF defines).

Stored as a packed string ("name=HEX;") and parsed lazily on first lookup so the Kotlin compiler does not have to constant-fold 4000+ map entries.

Functions

Link copied to clipboard
fun unicodeFor(glyphName: String): Int?

Returns the unicode codepoint for glyphName, or null if unknown.