[OSM-dev] mapnik map and Arabic names

Artem Pavlenko artem at mapnik.org
Fri Mar 23 15:32:46 GMT 2007

Hi Allio,

On 23 Mar 2007, at 14:18, Alilo wrote:

> Hi,
> On the mapnik map, the arabic letters are not connected. which is  
> not correct in arabic.
> mapnik arabic: http://www.openstreetmap.org/index.html? 
> lat=33.997890200140446&lon=-6.8455796898306565&zoom=16
> I thought in an earlier thread http://lists.openstreetmap.org/ 
> pipermail/talk/2007-January/010816.html that the problem was from  
> the dejavu fonts but dejavu fonts render arabic correctly.

Yes, dejavu fonts are fine.
> Is it possible that this is happening because mapnik is rendering  
> names letter by letter and not taking the complete word?

The reason is that BIDI algorithm in fribidi library doesn't support  
'shaping' ( at least by default). I'll investigate further and let  
you know.

> Is it because of the process that converts osm -> postgis -> mapnik .?


Thanks for reminding me about it. It would be great if you could  
submit a ticket on trac.mapnik.org so it won't get lost


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070323/40e5e8af/attachment.html>

More information about the dev mailing list