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