Steve,<br><br>Thanks for the advise, but we&#39;ve tried the Arial font already in the first test, it&#39;s just the same. We thought it was the fribidi2&#39;s problem since 0.19.1 doesn&#39;t have their configure script changed, and tried the 0.10.9, but it&#39;s all the same, every word is broken.<br>
<br><br><div class="gmail_quote">On Mon, Nov 17, 2008 at 11:15 PM, Stephen Woodbridge <span dir="ltr">&lt;<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jackey,<br>
<br>
Try locating a different font. if the text is being rendered as glyphs and they look correct, but is missing the joining information, it is likely that the font you are using does not include the joining glyphs.<br>
<br>
If you are using a windows machine, try getting mapserver via the fonts.txt file to point to the arial.ttf in the fonts folder. And change you FONT &quot;...&quot; to select the windows arial font. This assumes that you can display arabic text correctly using the arial font from a windows application like excel.<br>

<br>
-Steve W.<br>
<br>
Jackey Cheung 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><div></div><div class="Wj3C7c">
Greetings!<br>
<br>
<br>
We&#39;ve build the MapServer 5.2 on a Linux server, with fribidi2 0.19.1, to<br>
try show Arabic labels. But the words has been broken down to characters in<br>
the generated images (line.png). Then we&#39;ve tried on a MS4W 2.3.0 server,<br>
but the images (ms4w.png) are even worse.<br>
<br>
We are using PostGIS, and the database is using UTF8 (pgpr.png), while all<br>
Arabic data can be shown correctly (pg.png) on my English Windows XP, and<br>
<br>
we&#39;ve tried some more machines, or on IE, to make sure that Arabic text in<br>
database are really UTF8.<br>
<br>
Here&#39;s the images: <a href="http://www3.mapasia.com/jackout/ara.png" target="_blank">http://www3.mapasia.com/jackout/ara.png</a><br>
<br>
<br>
The part of the map file is as follow, where the &quot;arbic-trans&quot; is a Arabic<br>
TrueType font named &quot;Arabic Transparent&quot;:<br>
LABEL<br>
ANGLE FOLLOW<br>
PRIORITY [priority]<br>
ENCODING &quot;UTF-8&quot;<br>
COLOR 0 0 0<br>
OUTLINECOLOR 255 255 255<br>
TYPE TRUETYPE<br>
FONT &quot;arbic-trans&quot;<br>
SIZE 7<br>
POSITION AUTO<br>
PARTIALS FALSE<br>
MINDISTANCE 500<br>
BUFFER 1<br>
MINFEATURESIZE 50<br>
END<br>
<br>
Could anyone please help.<br>
<br>
<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote>
<br>
</blockquote></div><br>