What is Nostr?
Adrian Cochrane /
npub186l…nt98
2024-06-26 21:54:56
in reply to nevent1q…ftcl

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!
Author Public Key
npub186lgefknfnkgychnfjancqnv4k4yrdzxal486lw0p80z6vmley9qgsnt98