-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Offline tiles are not being rendered if they don't include CJK glyphs #14271
Comments
Looks like this is not an issue on iOS/macOS - #14952, so I retested and here are the results. Without CJK glyphs
Including CJK glyphs
The download takes a whole lot longer and weighs 60 MB. Our default font family for local CJK glyphs generation is Updated example code:
/cc @chloekraw @tmpsantos |
@LukasPaczos do we have system fonts enabled on this test? |
@tmpsantos is this the answer you're looking for? Otherwise, I'm not sure how to verify that. |
This issue is caused by the fact that map renderer on Android is not given a non-empty local font family. This branch contains the repro example and the naive fix on top. |
Assigning to @LukasPaczos for the appropriate fix in java. |
Great find, thanks for debugging this @pozdnyakov! |
If the offline region definition excludes CJK glyphs, the downloaded tiles are not being rendered.
Example region:
[LatLng(26.644858, 118.17), LatLng(26.63, 118.181632)]
14
17
MAPBOX_STREETS
false
The issue is present even if the client-site ideographs generation is enabled.
There are no warning/error logs emitted from core.
Full reproducible example:
The text was updated successfully, but these errors were encountered: