Text Rendering Hates You, a random collection of weird problems you need to deal with when rendering text: https://gankra.github.io/blah/text-hates-you/ …
TrueType/OpenType have the notion of compound glyphs that are composed of stacks of other glyphs with affine transforms. But I think every renderer just macro-expands such glyphs in place right now instead of preserving that info for use by consumers.
-
-
In theory one could allow selecting e.g. individual jamo in Hangul inside a single glyph by looking at the compound glyph structure.
-
Also, compound glyphs are represented by glyph IDs, not cmap entries, so you’d have to reverse-index the cmap in order to work out that, say, the individual subglyphs that make up the ff glyph happen to represent the character f. Doable but feels hacky.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.