Ł is a letter of the Polish alphabet: an L with a short stroke through it, pronounced roughly like the English w. On the small screen on my desk it came out as an empty rectangle. That's what a screen draws when the font has no picture for a letter. Typographers call that box "tofu".
Some of the text that reaches that screen is Polish. So in October I wrote one short line to the team: there's no Polish font, so Polish letters don't show. This is what it took to fix that properly.
Where the box came from
The screen is Altar, a small ESP32 board on my desk that shows what the night crew is doing and asks me to approve things. It draws text with LVGL, a graphics library for small devices. LVGL fonts aren't font files like on a laptop. They're C source: arrays of pixels, one small bitmap per character, compiled into the firmware. If a character isn't in the array, there's nothing to draw, and LVGL puts its placeholder rectangle there instead.
Altar had three fonts of its own, at 14, 16 and 20 pixels, generated from Montserrat for the Cyrillic range, because some of the text it shows is in Cyrillic. Behind them sat the fonts built into LVGL, which cover plain ASCII and almost nothing else. So none of the Polish letters had a picture. Not even Ó, which is in Latin-1 and feels like it should be everywhere.
The first thing checked was whether the problem was really the font. Text travels from the hub on my computer to the screen as JSON, and that's a common place for accents to die. It wasn't the problem here. The hub only strips control characters, it writes JSON without escaping to ASCII, and the device validates the UTF-8 and cuts long strings only between whole characters. The letters arrived intact. They just had nothing to be drawn with.
Eighteen letters
Polish needs nine extra letters, each in upper and lower case: Ą Ć Ę Ł Ń Ó Ś Ź Ż. That's 18 code points. The fix added them to the font generator's range, next to the Cyrillic block:
0xD3,0xF3,0x104-0x107,0x118-0x119,0x141-0x144,0x15A-0x15B,0x179-0x17C Then all three fonts were generated again with the same command and the same pinned version of the converter. The font names stayed. One of them is still called "cyr" though it now speaks Polish too, because a rename would be churn for nothing.
The cost was small: the firmware grew by 4,608 bytes of flash and used no extra RAM. The other fonts came out byte-identical, and so did the partition table.
That part took an evening. The interesting part is what "done" had to mean.
A loaded font is not a drawn letter
The easy test would be: the font file mentions all 18 code points, so it's done. It doesn't prove much. A font can list a character and give it an empty bitmap. A screen can use some other font in some corner where the new letters never reach. And a letter can be drawn and still be wrong, with the hook in the wrong place or the accent floating off the side.
So three different questions got three different checks.
Is each letter really there? For every one of the 18, in each of the three fonts, the test reads the generated bitmap and demands a glyph with a real size and at least one inked pixel. A letter that exists only as a name in a list fails.
Can Polish text reach a font that doesn't have it? Every font the screen's code uses went into a table: what it draws, whether text from an agent can ever end up in it, and the line of code that proves it. Seven fonts, seven rows. Some only ever draw numbers, or short labels the hub builds itself out of plain ASCII. Those were left alone, with the proof written down. A test fails if anyone adds a new font to the screen code without adding a row.
Does it look right? A script draws two test lines through each theme's real chain of fonts, from the bitmaps that go into the firmware, not from a font installed on my computer. The lines are the Polish pangram "Zażółć gęślą jaźń" and the same in capitals. Then someone looked at the images: every ogonek (the little hook under ą and ę), every kreska (the accent on ó, ś, ź), the dot over ż and the stroke through ł, each one on its own letter. Zero boxes out of 204 drawn glyphs.
Breaking it on purpose
Before signing off, the one who checks took four letters back out, Ł ł Ń ń, from the 16-pixel font, and ran the tests again. Five of the 24 font tests went red, each for its own reason: coverage, real ink, the count of 18, the fallback to the next font, and the rendered image showing a box. Then she put the letters back and all 24 went green.
That run is the reason I trust the 24 green ones. A test that can't fail when the letter is missing would have been decoration.
She got one thing wrong, and her note says so. Her brief predicted that the leak scan, which reads every added line before a commit, would trip over the Cyrillic comments inside the regenerated font files. The builder measured it: those lines hadn't changed, so the scan never even saw them. Zero hits. Her report records that in one line: the builder was right. The rest of the firmware's test suite, 1,259 tests, stayed green.
What it doesn't fix
Two things are left, and both are honest.
The themes that use a pixel-style monospace font now mix faces. Polish letters come from Montserrat, because that's where the fallback chain finds them, and they sit next to blocky pixel ASCII. It reads fine. Whether it looks fine on the real panel is a question of taste, and those images are renders, not photos. Looking at the real screen was left as its own step.
And the screen still can't draw what nobody asked for. Czech has ř, German has ß, and a word with either one would show the box again. That's deliberate. Every glyph costs flash, and I'd rather add a language when I actually need it, with the same three checks, than ship all of Unicode into a firmware partition of about 3 MB.
The box is a useful signal, really. It's the screen saying "I don't have this". The bug was never the box. The bug was a test that would have stayed green while the box was there.
— Max



