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

Locally generated glyphs shift on over-zoomed tiles #8653

Closed
asheemmamoowala opened this issue Aug 16, 2019 · 0 comments · Fixed by #8657
Closed

Locally generated glyphs shift on over-zoomed tiles #8653

asheemmamoowala opened this issue Aug 16, 2019 · 0 comments · Fixed by #8657

Comments

@asheemmamoowala
Copy link
Contributor

When zooming from z17 to z18, I am seeing some locally generated glyphs being replaced by server retrieved glyphs. This is demonstrated in the gifs below. The second gif shows the box/size of the glyph made by adjusting the fragment shader.

On z18 tiles, the glyphs have variable size which is a property of the server generated glyphs. The z17 tiles have fixed size (24/32 px sq.) size that is characteristic of locally generated glyphs.

mapbox-gl-js version: v1.2.1

browser: Chrome

Steps to Trigger Behavior

  1. With the local debug server open http://localhost:9966/debug/debug.html#18.04/35.681234/139.770108/-0.1
  2. Zoom between z17 and z18

Link to Demonstration

localIdeo_shift

localIdeo_shift_debug

Expected Behavior

Locally generated glyphs are not overridden by server generated ones.

Actual Behavior

At z18 server glyphs are taking over. Causing a change in the baseline and font of some characters.

cc @ansis @chloekraw @tristen

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

Successfully merging a pull request may close this issue.

2 participants