Using font shaping to put commas in big numbers EVERYWHERE!!
summary
Uses OpenType reverse chaining contextual single substitution to work right-to-left on digit sequences and duplicate digit glyph sets to hold counting state, then swaps in wider glyph outlines that insert fake commas every three digits. Hits broken font libraries but finds one that applies rules in terminals and browsers (needs shaping enabled, e g Kitty), preserves original text on copy, handles monospaced constraints by underlining or glyph-width tweaks, and ends up usable across editors and web pages.
AI-written summary · about
chapters (11)
- 0:00Intro
- 0:55Background
- 1:23OpenType
- 2:29Outlines
- 2:42Reverse chaining
- 3:44Feature files
- 4:42Alternating capitalization
- 5:17Glyphs
- 6:48Writing Code
- 7:13Fake Colors
- 7:42Fizzbuzz
related talks
51mProblems solved by OpenType
28mSyntax Highlight Everything
16mA handful of typographic challenges
32mTypesetting East Asian languages on the web
20mDynamic Typographic Systems with Variable Fonts
32mModern Typographic Systems With Variable Fonts
52mPutting the Fonts into Webfonts
29mSyntax Highlight Everything
