Closed zzkzzk1984 closed 2 years ago
I don't have any solution at this time, but I tested this on my server and can confirm the issue. it seems like any text that has chinese characters is not showing
With maplibre-gl-js https://tiles.wifidb.net/styles/WDB_BASIC/#8/22.022/106.885
With maplibre-gl-native https://tiles.wifidb.net/styles/WDB_BASIC/?raster#9/22.0220/106.8846
After some more testing I got it working. In my case it was because I did not have to Noto fonts in font directory specified in my config file.
I went and downloaded noto-sans.zip from https://github.com/openmaptiles/fonts/releases , put them in my fonts directory, restarted tileserver, and now those chinese symbols show.
After some more testing I got it working. In my case it was because I did not have to Noto fonts in font directory specified in my config file.
I went and downloaded noto-sans.zip from https://github.com/openmaptiles/fonts/releases , put them in my fonts directory, restarted tileserver, and now those chinese symbols show.
With your patient help, I have solved this problem, thank you so much!
Why can't the Chinese text-field in rasterized mode be displayed under the same mbtiles file and style? Ask how to solve?
Screenshot of vector mode:
Screenshot of rasterized mode:
Screenshot of style.json: