Greetings!<br><br>We've tried to build MapServer on our Linux test server, and it goes fine with no error reported. However, when we put it to test, all Arabic words are broken but the character sequence is correctly ordered from right to left (attached jpg).<br>
<br>We've tried to download the latest version from MapServer's and FriBidi's official site and done it again, still no success.<br><br>The box is a CentOS 5.1, and here's the command line we've used:<br>
./configure \<br>--with-jpeg \<br>--with-png \<br>--with-freetype \<br>--with-proj \<br>--with-geos \<br>--with-ogr \<br>--with-gdal \<br>--with-curl \<br>--with-tiff \<br>--with-gd \<br>--with-libiconv \<br>--with-zlib \<br>
--with-xpm \<br>--with-agg=/usr/local/agg \<br>--with-grass \<br>--with-httpd=/usr/local/apache/bin/httpd \<br>--with-php=/usr/local/php \<br>--with-postgis=/usr/local/pgsql/bin/pg_config \<br>--with-fribidi-config=/usr/local/lib/pk<br>
<br><br>and here's the mapfile:<br>MAP<br> SHAPEPATH "/map/map"<br> FONTSET "/map/fonts.list"<br> SYMBOLSET "/map/symbols.list"<br><br> UNITS DD<br>
EXTENT -180 -90 180 90<br><br> OUTPUTFORMAT<br> NAME "AGGA"<br> DRIVER "AGG/PNG"<br> MIMETYPE "image/png"<br>
IMAGEMODE RGBA<br> TRANSPARENT ON<br> EXTENSION "png"<br> FORMATOPTION "INTERLACE=OFF"<br> END<br><br> OUTPUTFORMAT<br> NAME PNG24<br>
DRIVER "GD/PNG"<br> MIMETYPE "image/png"<br> IMAGEMODE RGBA<br> EXTENSION "png"<br> TRANSPARENT ON<br>
FORMATOPTION "INTERLACE=OFF"<br> END<br><br> IMAGETYPE AGGA<br> IMAGECOLOR 255 255 255<br><br> PROJECTION<br> "init=epsg:4326"<br> END<br><br> WEB<br>
IMAGEPATH "/map/tmp/ms_tmp/"<br> IMAGEURL "/ms_tmp/"<br> END<br><br> LAYER<br> NAME "12"<br> STATUS DEFAULT<br>
<br> TYPE POLYGON<br> TRANSFORM FALSE<br><br> FEATURE<br> POINTS 0 0 0 400 400 400 400 0 0 0 END<br> END<br><br> CLASS<br> STYLE<br>
COLOR 220 220 220<br> END<br> END<br> END<br><br> LAYER<br> NAME "12"<br> STATUS DEFAULT<br><br> TYPE ANNOTATION<br>
TRANSFORM FALSE<br><br> FEATURE<br> POINTS 350 350 END<br> TEXT "12 طريق شيخ عسى سلمان"<br> END<br><br> CLASS<br> LABEL<br> ANGLE AUTO<br>
ENCODING "UTF-8"<br> COLOR 0 0 0<br> OUTLINECOLOR 255 255 255<br> TYPE TRUETYPE<br> FONT "arabic-trad"<br>
SIZE 12<br> ANTIALIAS TRUE<br> POSITION AUTO<br> PARTIALS FALSE<br> END<br> END<br> END<br>
<br> LAYER<br> NAME "16"<br> STATUS DEFAULT<br><br> TYPE ANNOTATION<br> TRANSFORM FALSE<br>
<br> FEATURE<br> POINTS 250 250 END<br> TEXT "16 طريق شيخ عسى سلمان"<br> END<br><br> CLASS<br> LABEL<br> ANGLE AUTO<br> ENCODING "UTF-8"<br>
COLOR 0 0 0<br> OUTLINECOLOR 255 255 255<br> TYPE TRUETYPE<br> FONT "arabic-trad"<br> SIZE 16<br>
ANTIALIAS TRUE<br> POSITION AUTO<br> PARTIALS FALSE<br> END<br> END<br> END<br><br> LAYER<br> NAME "20"<br>
STATUS DEFAULT<br><br> TYPE ANNOTATION<br> TRANSFORM FALSE<br><br> FEATURE<br> POINTS 150 150 END<br> TEXT "20 طريق شيخ عسى سلمان"<br>
END<br><br> CLASS<br> LABEL<br> ANGLE AUTO<br> ENCODING "UTF-8"<br> COLOR 0 0 0<br> OUTLINECOLOR 255 255 255<br>
TYPE TRUETYPE<br> FONT "arabic-trad"<br> SIZE 20<br> ANTIALIAS TRUE<br> POSITION AUTO<br>
PARTIALS FALSE<br> END<br> END<br> END<br><br> LAYER<br> NAME "24"<br> STATUS DEFAULT<br><br> TYPE ANNOTATION<br>
TRANSFORM FALSE<br><br> FEATURE<br> POINTS 50 50 END<br> TEXT "24 طريق شيخ عسى سلمان"<br> END<br><br> CLASS<br> LABEL<br> ANGLE AUTO<br>
ENCODING "UTF-8"<br> COLOR 0 0 0<br> OUTLINECOLOR 255 255 255<br> TYPE TRUETYPE<br> FONT "arabic-trad"<br>
SIZE 24<br> ANTIALIAS TRUE<br> POSITION AUTO<br> PARTIALS FALSE<br> END<br> END<br> END<br>
<br>END<br><br><br>Someone please shed me so light. Many thanks in advance.<br>