Hi AJ, thanks for your help!
I added Unifonts as fallback and now everything is fine. :-) <FontSet name="book-fonts"> <Font face_name="DejaVu Sans Book" /> <Font face_name="unifont Medium" /> </FontSet> Markus -------- Original-Nachricht -------- > Datum: Wed, 7 Sep 2011 10:47:12 -0400 > Von: AJ Ashton <[email protected]> > An: [email protected] > Betreff: Re: [OSM-dev] Mapnik, Japanese characters? > On Wed, Sep 7, 2011 at 10:23 AM, <[email protected]> wrote: > > I'm using Mapnik to render a thematic map. Latin and Cyrillic characters > are displayed properly but Japanese are not: > > http://openptmap.org/?zoom=14&lat=35.68025&lon=139.76767&layers=0000BTFT > > Does your stylesheet use a font that supports Japanese characters? If > not you should find a font that does and set it as a fallback using > Mapnik's fontset feature [1]. > > If it's not a problem with your font, likely the character encoding is > set incorrectly in the database, or is being set incorrectly somewhere > in the rendering pipeline. You should check that the database was > imported as UTF-8, and that the encoding is not being set to something > else in the Mapnik XML. > > [1]: http://trac.mapnik.org/wiki/FontSet > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

