←back to thread

OpenStreetMap's New Vector Tiles

(tech.marksblogg.com)
479 points marklit | 1 comments | | HN request time: 0s | source
Show context
zawaideh ◴[] No.42184496[source]
The other issue is that the arabic font is not rendering correctly in the vector version. It's rendering left to right (instead of right to left) with characters broken up instead of linked.
replies(3): >>42185056 #>>42185301 #>>42190246 #
sp8962 ◴[] No.42185056[source]
The whole point of vector tiles is that the rendering is local and controlled by a style configuration (except for the tile schema) that can be changed. So the brokenness you are seeing is either in the style or the library that is rendering the contents locally.
replies(2): >>42185076 #>>42185878 #
dnpls ◴[] No.42185878[source]
it looks like the selected font doesn't support arabic text, producing the disconnected characters.
replies(1): >>42191216 #
1. mapmeld ◴[] No.42191216{3}[source]
It's likely an issue with displaying Arabic text in WebGL, since that needs to handle all of the possible options for each letter in the text-shaping.