-
Notifications
You must be signed in to change notification settings - Fork 638
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
(Some) raster tiles fail to render fonts #1399
Comments
Can you post the style you are using? Does it look correct in vector view? |
The style is available here: https://github.com/leonardehrenfried/ansible-baseline/blob/34c64cb42293683a5de1942786ec642348bad75e/roles/tileserver/templates/streets.json Yes, it does look correct in the vector view, which is the bottom screenshot. (Sorry if that wasn't super clear.) |
Did this working in [v4.13.3](https://github.com/maptiler/tileserver-gl/releases/tag/v4.13.3 . or any previous version? |
When I test this style locally it works for me. the only change I had really made was Replacing "KlokanTech Noto Sans" with a newer "Noto Sans". I am not using the docker here , but it shouldn't be different. https://tiles.wifidb.net/styles/streets/?raster#14/50.5318/6.4409 |
Can you see if see the issue with the fonts I am using and style changes. I zipped them up here. |
Maddeningly the problem appears at random. Once I delete the tile cache (handled by nginx) and re-render the tiles the previously errouneous one then has the correct fonts but elsewhere I have tiles without fonts. It appears that during download or rendering of the font something goes awry. |
I would think if it wasn't getting a font file at all from the server it wouldn't render the image since maplibre-native is really picky about fonts and will usually just return nothing if something is missing. Could be a rendering issue in maplibre native. If you could test v4.13.3 and see maplibre based on opengl-2 behaves differently Could be the change to @mapbox/glyph-pbf-composite in v4.12.0, maybe try a version before that v4.11.1 and see if the issue occurs. |
Are you regenerating your source vector tiles often? |
Once a day. |
So maybe also a intermittent issue in your source tiles that is getting cached and fixed before you get to look at it? |
I'm running tileserver-gl 5.0.0 in a docker container and sometimes, some tiles fail to rasterize their fonts.
This only happens to raster tiles. The vector versions are fine:
I also checked the vector tiles themselves and they do contain the information that we need to display the street names and badges.
I checked the logs but cannot see anything unusual, just the regular activity of tiles and fonts being downloaded. I also cannot see a pattern of which raster tiles works and which doesn't.
Has anyone ever experienced this before?
The text was updated successfully, but these errors were encountered: