Page MenuHomePhabricator

[upstream] Tofu (boxes instead of characters) in some labels
Closed, ResolvedPublic

Event Timeline

MaxSem raised the priority of this task from to Needs Triage.
MaxSem updated the task description. (Show Details)
MaxSem added projects: Maps, Maps-Sprint.
MaxSem added a subscriber: MaxSem.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Can we get a url/coordinate for this? We need to be able to replay this. I haven't seen any while browsing around

ksmith renamed this task from Tofu in some labels to Tofu (boxes instead of characters) in some labels.Aug 18 2015, 9:41 PM
ksmith set Security to None.

Another example is https://maps.wikimedia.org/osm/18/156717/106651.png .

I'm not sure what the deal is. Clearly it can render Hebrew, and Max's example also shows it can at least sometimes render Arabic.

After an IRL debugging of Hebrew labels with Stas and Ori, we narrowed it to Mapnik going bonkers from some combinations of 2-byte and 1-byte UTF. Minimal repro: "א-" - that's aleph and minus sign.

MaxSem moved this task from To-do to In progress on the Maps-Sprint board.

I think I figured out why it was happening, see explanation, but a patch is still welcome.

MaxSem renamed this task from Tofu (boxes instead of characters) in some labels to [upstream] Tofu (boxes instead of characters) in some labels.Oct 26 2015, 5:51 PM

https://github.com/mapnik/mapnik/pull/3151 has been merged, waiting for a Mapnik/node-mapnik release.

Yurik added a subscriber: jkroll.

Done and deployed. Thanks @jkroll and WMDE for your help! Varnish cache will expire in 24 hours.