mapbox / osm-bright

A Carto template for OpenStreetMap data
BSD 3-Clause "New" or "Revised" License
698 stars 225 forks source link

Japanese, Chinese, Korean not properly displayed #120

Closed tsanders42 closed 8 years ago

tsanders42 commented 8 years ago

Just like with issue #103: Japanese (and Korean and Chinese) characters aren't properly displayed: image

OSMBright.xml has both 'Unifont Medium' and 'unifont Medium': image (as does palette.mss)

any thoughts on how I can fix this?

Thank you for your help

tmcw commented 8 years ago

Do you have Unifont installed? Do you see any font warnings in the rendering process?

tsanders42 commented 8 years ago

Found it: the guide at https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ instructed me to set the font directory as:

font_dir=/usr/share/fonts/truetype/ttf-dejavu

after changing it to:

font_dir=/usr/share/fonts/truetype

non-latin fonts are properly displayed.

thank you for nudging me in the right direction :)