-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unicode rendering problem on waterways labels. #56
Comments
I have the same problem too. I have trying at palette.mss update line 27 @sans_italic: from: "Open Sans Semibold Italic","DejaVu Sans Italic","unifont Medium"; without success. Still missing characters. How I can update fonts at file styles? |
@Bear4 can you post an image of what you are seeing? It may be that your Mapnik installation's boost_regex lib is not properly linked to ICU. Can you say how you built boost and mapnik? |
When replace: the problem disappears... |
That line is a workaround to for an old Mapnik bug where |
There seeems to be a bug in the waterways labels, with unicode.
I don't really know if this bug should be reported to you, or to mapnik.
The following label definition implicitly convert from unicode to "something-else", resulting in accented letters being replaced by the infamous interrogation mark:
This could be fixed on your side by not doubling the spaces, or by performing the work in-db, which doesn't lose the encoding.
This is the solution I implemented (by manually editing the mapnik xml export).
The following code demonstrates how this could be done in your json format:
The text was updated successfully, but these errors were encountered: