Adrian Cochrane on Nostr: Building upon this hardware, tasks a text layout engine must tackle include: * ...
Building upon this hardware, tasks a text layout engine must tackle include:
* Querying which fontfile to use (if no underlying OS to worry about stick to webfonts, with user/useragent styles samediff!)
* Parsing said font, & its "tables" at specified offsets (add an opcode for this...)
* Normalizing text direction
* Segmenting text by equivalent styles
* Line splitting (running-sum + compare hardware-accelerated)
* Normalize charset to that supported by font
* Gather "grapheme clusters"
4/6!
* Querying which fontfile to use (if no underlying OS to worry about stick to webfonts, with user/useragent styles samediff!)
* Parsing said font, & its "tables" at specified offsets (add an opcode for this...)
* Normalizing text direction
* Segmenting text by equivalent styles
* Line splitting (running-sum + compare hardware-accelerated)
* Normalize charset to that supported by font
* Gather "grapheme clusters"
4/6!