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

Glyph overflow #2632

Closed
haoshengfucn opened this issue May 30, 2016 · 4 comments
Closed

Glyph overflow #2632

haoshengfucn opened this issue May 30, 2016 · 4 comments

Comments

@haoshengfucn
Copy link

haoshengfucn commented May 30, 2016

in the glyph_source.js, the glyph bitmap is 512X512,in the english languages countries, it is ok. but if switch to china, 512X512 is not enought. "glyph bitmap overflow" happens.

@jingsam
Copy link
Contributor

jingsam commented May 30, 2016

A glyph bitmap only have 255 glyph, so I think 512X512 is big enough to support 255 Chinese characters. One font will be split into multiple glyph bitmaps, such as 0-255, 256-512...

@1ec5
Copy link
Contributor

1ec5 commented May 30, 2016

Duplicate of #1681.

@1ec5 1ec5 closed this as completed May 30, 2016
@1ec5 1ec5 reopened this May 30, 2016
@1ec5
Copy link
Contributor

1ec5 commented May 30, 2016

Whoops, I was thinking of mapbox/mapbox-gl-native#1681, which is the same issue in the Mapbox iOS and Android SDKs. Sorry for the confusion.

@jfirebaugh
Copy link
Contributor

Duplicate of #141.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants