[OSM-talk] Asian fonts with Mapnik

Matthias Sala matthias at gbanga.com
Fri Jun 18 09:08:32 BST 2010


Hello folks

OSM is great!  We're using OSM for our location-based game for quite a while
for Switzerland+Europe, but now plan to have the whole world rendered with
Mapnik.

Now, I have noticed that Asian fonts (China is labeled with two boxes
instead of the correct Unicode chars) are not working, even thou I have the
arphic/uming.ttc copied to OSM/Mapnik as suggested in
http://wiki.openstreetmap.org/wiki/Mapnik#Troubleshooting.

Is there somebody who knows how to set up things properly?  Do I need other
fonts?  Where do I have to adjust other settings?

I use Ubuntu 9.10. The osm.xml font section is attached below

Thanks for your help!

Best, Matthias 

--
Matthias Sala | +41 43 536 67 01 | http://gbanga.com

Check out Gbanga on iPad: http://gbanga.com/ipad 

Follow us on http://twitter.com/Gbanga 
Become fan of http://facebook.com/Gbanga 
Join us on http://gbanga.com/linkedin 


----

    <FontSet name="book-fonts">
          <Font face_name="DejaVu Sans Book" />
          <Font face_name="unifont Medium" />
          <Font face_name="AR PL ShangHeiSun Uni Regular" />
    </FontSet>
    <FontSet name="bold-fonts">
          <Font face_name="DejaVu Sans Bold" />
          <Font face_name="unifont Medium" />
          <Font face_name="AR PL ShangHeiSun Uni Regular" />
    </FontSet>
    <FontSet name="oblique-fonts">
          <Font face_name="DejaVu Sans Oblique" />
          <Font face_name="unifont Medium" />
          <Font face_name="AR PL ShangHeiSun Uni Regular" />
    </FontSet>





More information about the talk mailing list