Skip to content
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

Chinese text not rendering with a font that has Chinese coverage #1622

Closed
nickidlugash opened this issue Oct 14, 2015 · 5 comments
Closed

Chinese text not rendering with a font that has Chinese coverage #1622

nickidlugash opened this issue Oct 14, 2015 · 5 comments
Labels

Comments

@nickidlugash
Copy link

I'm trying to use the font Noto Sans CJK TC Regular, which should cover the unicode ranges for the values in this style layer's text-field, but no labels are rendered. Not sure if this is a bug or if I'm doing something wrong:

no-chinese-labels

Perhaps this is an issue specific to the font?

/cc @kkaefer

@bhousel
Copy link
Contributor

bhousel commented Oct 14, 2015

Do you see glyph overflow errors in the javascript console? It could be #141

@nickidlugash
Copy link
Author

@bhousel I did see these errors, and I can see in general on the map that certain characters are not showing up, but these labels do render using Arial Unicode MS Regular. Would switching the font make a difference for these errors?

@bhousel
Copy link
Contributor

bhousel commented Oct 14, 2015

The issue is that font glyphs must be packed into a GL texture and asian charsets can contain more glyphs than the code can currently handle. So triggering the error is a combination of which fonts are in use, and also how crowded with labels the map is where you are testing.

@mikemorris
Copy link
Contributor

Dupe of #141?

@bhousel
Copy link
Contributor

bhousel commented Dec 9, 2015

I did see these errors

Yes closing as a dup - will be fixed soon.

@bhousel bhousel closed this as completed Dec 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants