[OSM-talk] Mapnik rendering in China broken?

Jon Burgess jburgess777 at googlemail.com
Mon May 26 13:22:23 BST 2008


On Mon, 2008-05-26 at 13:55 +0200, Inge Wallin wrote:
> Hi,
> 
> I'm not sure if this is the correct list to post to, but it's the only OSM 
> list that I'm a member of so I'll do it here anyway.
> 
> It seems that the rendering of chinese characters in Mapnik is broken. Every 
> character is just rendered as an empty square, which indicates to me that 
> some font is missing on the rendering server.  Here is an example:
> http://www.openstreetmap.org/?lat=26.53&lon=118.33&zoom=7&layers=B0FT

The fundamental issue is that Mapnik can only render a given piece of
text with a single font. It has no ability to fallback to another font
if one of the characters is missing. Currently we use the DejaVu fonts
which are missing these Chinese characters.

	Jon






More information about the talk mailing list