Elektrine lite

← Feed

@TiroTypeworks@typo.social

Post #1808010

2026-03-09 15:23 UTC

@justvanrossum @frankrolf @mathieureguer You called? Specifically for Indic scripts, the order of glyphs does not correspond to the input character order, so glyph name parsing breaks down. In some scripts, ligatures are formed of elements that are not adjacent in the character string, so there is no way to name them within the Adobe glyph naming conventions that can parsed back to the original text in the way that e.g. /f_h can be in a Latin font. I think probably it would be possible to algorithmically reorder character codes parsed from glyph names in Indic fonts, but a) that would require very clear additional rules about naming various kinds of Indic glyphs, and b) a lot more work by PDF viewers.

Replies (1)

  • @TiroTypeworks@typo.social 2026-03-09 15:34

    @justvanrossum @frankrolf @mathieureguer Here’s an example. The orange glyph is a ligature of the base consonant and the vowel sign, which are at opposite ends of a character cluster sequence. It’s possible to imagine a sophisticated glyph-name-to-character-string parser being able to handle this using algorithmic rules to reorder its output back to the correct character sequence, but to my knowledge none do this.

    Open ##1808011