GlyphList

object GlyphList

Adobe Glyph List → Unicode mapping, ported from MuPDF (scripts/glyphlist.txt). Maps PostScript glyph names (e.g. "Adieresis", "fi") to unicode codepoints.

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.