If you see tofu spreading across the map of Oklahoma, please do not be alarmed. In some cases, an apparent text rendering bug in Mapnik is causing some styles like OSM Carto and Tracestrack Topo to produce missing character placeholders until the label reaches the maximum possible length. Unluckily, this bug affects the town of Hominy (𐒹𐓘́͘𐓨𐓘͘𐓵𐓣͘ in Osage), causing its label to stretch across most of northeastern Oklahoma.
As seen in these screenshots, not every Osage label is affected by this bug. It seems to affect only a particular sequence of characters.
Known affected maps include:
Most maps are unaffected, subject to font availability:
- CoMaps and Organic Maps
- CyclOSM
- Humanitarian
- Magic Earth
- OpenStreetMap Americana
- OsmAnd
- Shortbread
- Transport
Maps that only show labels in English are also unaffected. Other kinds of data consumers like geocoders and routers rely on the operating system to render text, so they are also unaffected. Beyond Oklahoma, there are some text rendering issues in South and Southeast Asia that may be related, but this is unclear until we know the root cause.
In the last couple weeks since this bug arose, I’ve reverted multiple attempts to remove the Osage name from the name=* tag. (The most recent revert was just an hour ago, so some maps will need time to catch up.) This is a good reminder that you should not tag for the renderer. Never remove valid information from the map purely due to presentational concerns like fonts. This withholds or loses relevant information, disadvantaging data consumers that are already behaving correctly and impairing our efforts to clean up coverage of indigenous names in the U.S.
I understand that the tofu is annoying to anyone trying to read other parts of the map many miles away. If you’re as bothered about the bug as I am, please help us find more examples of runaway tofu on the map, so we can get a better sense of the magnitude of the problem. And if you’re able, please help the developers of OSM Carto and Mapnik diagnose the underlying bug.
Thank you for your patience!
This link will get your IP address blocked for this particular URL. Copy the link and manually navigate to it instead. ↩︎







