[OSM-talk] Mapnik: right-to-left labels are printed backward

Artem Pavlenko artem.mapnik at googlemail.com
Tue Feb 12 15:57:51 GMT 2008


On 11 Feb 2008, at 11:25, Moshe Sayag wrote:

> Hebrew and Arabic labels have to be printed in right-to-left order,  
> but are reversed by Mapnik.
>

Also, arabic script needs shaping!
Work in progress:

./bin/darwin/debug/unicode_test "\320\234\320\276\321\201\320\272\320 
\262\320\260 \330\247\331\204\330\261\330\250\330\247\330\267 Oxford  
\345\220\203\343\204\220\343\204\212"
testing unicode...
Москва الرباط Oxford 吃ㄐㄊ
Left-to-Right
u041c 0
u043e 1
u0441 2
u043a 3
u0432 4
u0430 5
u0020 6
Right-to-Left
u0637 7
u0627 8
u0628 9
u0631 10
u0644 11
u0627 12
Shaped arabic
ufec1
ufe8e
ufe91
ufeae
ufedf
ufe8d
Left-to-Right
u0020 13
u004f 14
u0078 15
u0066 16
u006f 17
u0072 18
u0064 19
u0020 20
u5403 21
u3110 22
u310a 23

>
> Moshe

Artem
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk





More information about the talk mailing list