[mapserver-users] problem with arabic font

Stephen Woodbridge woodbri at swoodbridge.com
Thu Dec 1 20:06:33 EST 2011


On 12/1/2011 6:40 PM, Amr Zakaria wrote:
> i have street name with Arabic i wont to display it
> How i fix arabic font?

You need to know what character encoding the data is in, UTF8 or 
WINDOWS-1256 or ISO8859-6, etc

Then in:

LABEL
   ...
   FONT "myArabicFont"
   ENCODING "....." # put the correct encoding in place of .....
   ...
END


You also need to have a truetype font file that supports your encoding.
And Mapserver needs to be built with fribidi-0.19.2

-Steve W


More information about the mapserver-users mailing list