I will take a look at adding fallback font support to Mapnik.<br><br>Around include/mapnik/font_engine_freetype.hpp:359 it seems like there is a good opportunity to add this support.<br><br><br>Beau<br><br><div class="gmail_quote">
On Mon, May 26, 2008 at 6:22 AM, Jon Burgess <<a href="mailto:jburgess777@googlemail.com">jburgess777@googlemail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Mon, 2008-05-26 at 13:55 +0200, Inge Wallin wrote:<br>
> Hi,<br>
><br>
> I'm not sure if this is the correct list to post to, but it's the only OSM<br>
> list that I'm a member of so I'll do it here anyway.<br>
><br>
> It seems that the rendering of chinese characters in Mapnik is broken. Every<br>
> character is just rendered as an empty square, which indicates to me that<br>
> some font is missing on the rendering server.  Here is an example:<br>
> <a href="http://www.openstreetmap.org/?lat=26.53&lon=118.33&zoom=7&layers=B0FT" target="_blank">http://www.openstreetmap.org/?lat=26.53&lon=118.33&zoom=7&layers=B0FT</a><br>
<br>
</div>The fundamental issue is that Mapnik can only render a given piece of<br>
text with a single font. It has no ability to fallback to another font<br>
if one of the characters is missing. Currently we use the DejaVu fonts<br>
which are missing these Chinese characters.<br>
<font color="#888888"><br>
        Jon<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk" target="_blank">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk</a><br>
</div></div></blockquote></div><br>