-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Comments
Do you see glyph overflow errors in the javascript console? It could be #141 |
@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 |
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. |
Dupe of #141? |
Yes closing as a dup - will be fixed soon. |
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'stext-field
, but no labels are rendered. Not sure if this is a bug or if I'm doing something wrong:Perhaps this is an issue specific to the font?
/cc @kkaefer
The text was updated successfully, but these errors were encountered: