-
Notifications
You must be signed in to change notification settings - Fork 527
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
Characters not rendering correctly with dev builds #2276
Comments
Thanks for the report! Are you perhaps referencing Unifont in your style? If so this is broken right now in dev builds due to https://github.com/mapbox/tilemill/issues/2272. |
Minion Pro Italic...is that Unifont?
|
Hmm, okay, then I'm not sure what changed and I don't know how to fix. Are you sure this occurred do to purely a TileMill upgrade and nothing else? If so would it be possible to provide a reduced testcase? Basically a standalone project that demonstrates the problem in newer TileMill and does not have the problem in older TileMill when you open it up successively? |
But it sound like it could simply be the Unifont issue you mention above, no? Yes, certain it occurs purely due to Tilemill devbuild upgrade. The latest one and the one before it. Produce a reduced testcase? Sure if you'd pls let me know what it should look like and how you want it sent. The shape file used is one from Naturalearth that I've been tinkering with and modified a bit. |
No, it's not likely the unifont issue unless you are specifying that or the dejavu fonts in your style. Are you? Can you post your style for me to download?
|
I'm specifying a font called Minion Pro, don't know what that is exactly. Other fonts (ex Palatino Linotype) also don't work, while I found out that Helvetica Neue does. You could download the shapefiles used here and what I suppose is the relevant code below. The area in my example pic posted before was from the northern part of the river Ob' in West Siberia. I think you get the same issue if you zoom into the large lakes of Sweden that got å ä ö in them. Ok? Happy Easter ! @water: #C0E0F8; Map [zoom>=3][zoom<=8]{ background-color: @water; buffer-size: 256;} #ne50mriverslakecente [featurecla = "River"] { ::text [zoom>=4][zoom<=5]{ #ne10mriverslakecente [featurecla = "River"] { ::text [zoom>=6][zoom<=9]{ [zoom=6] [strokeweig >= 0.15] { text-size: 9_1.2; text-opacity:0.6;} [zoom=7] [strokeweig >= 0.15] { text-size: 9_1.6; text-opacity:0.6;} [zoom=8] [strokeweig >= 0.15] { text-size: 9_2; text-opacity:0.6;} [zoom=9] [strokeweig >= 0.15] { text-size: 9_2; text-opacity:0.6;} |
Could you please reduce the testcase further? Please boil the style down to one line ideally that still replicates the problem please. |
Sorry new to this Githubthing. If you do like this: Use Tilemill dev build, download and load the 50 Naturalearthdata.com shape files for rivers and lakes, and add text labels using the Minion Pro font. Try zoom into for example the big lakes of Sweden and Finland. Does not render correctly despite using encoding="CP1252". |
Using stable Tilemill no trouble rendering odd characters/letters by putting encoding="CP1252" in the advanced field. Using the developer build this doesn't help anymore, doesn't work. Using encoding=LATIN1 makes no difference.
Using Mac, Mavericks, shapefiles
The text was updated successfully, but these errors were encountered: