Render calendar emoji in full color
Build and push server image / build-and-push (push) Successful in 54s

Switched from the monochrome emoji font to color: NotoColorEmoji's
embedded CBDT bitmap glyphs, rasterized once at their native 109px
size and scaled to the target row height (unlike normal vector text,
color bitmap glyphs aren't stored at arbitrary sizes). Confirmed by
rendering an actual agenda row through the real quantizer that the
dithered-to-6-color result still reads clearly, not just muddy noise.

Falls back to the monochrome font if a deployment's Pillow/FreeType
wasn't built with embedded color bitmap support, so this degrades
instead of crashing or showing nothing.
This commit is contained in:
2026-07-23 04:25:10 -04:00
parent 67d99dd6c0
commit 33af5408fd
4 changed files with 109 additions and 41 deletions