[mapserver-users] Arabic labeling problem again?!!!

Stephen Woodbridge woodbri at swoodbridge.com
Tue Sep 9 07:56:00 PDT 2008


Hello Saka,

There are a lot of pieces that you have to get working together to get 
this to work:

1) mapserver 5.2 MUST be built with fribidi2 support. I beleieve this is 
also designated as version fribidi-0.19.1

2) A typetype font file that contains the shape gliphs that you might 
need along with the characters that you need to display.

3) And I'm sure this works with UTF-8, but unsure about other encodings.

4) your data converted to UTF-8 if it is in some other encoding

5) and finally you mapfile label definition which specifies an encoding 
of utf-8.

You might get other variations of this to work, I would be interested in 
hearing your reports of you can get others to work. I have sucessfully 
gotten the above to work.

Best regards,
   -Stephen Woodbridge

Saka Royban wrote:
> 
> Hi all.
> I've asked this problem in MS4W mailing list but no success. it sounds 
> it originally relates to mapserver
> According to what History.txt  for MS4W2.2.8 says, problem for arabic 
> and hebrew languages has been solved by using UTF8. But i couldn't get a 
> good result.
> In fact, UTF8 doesn't show letters correctly (just some symbols). i have 
> tried lots of fonts but the same result.
> in current version, the problem of joining letters have been solved 
> because i can get result using 'ISO8859-6' encoding which is for arabic 
> but now this encoding changes some of letters with each other.
> In last version, 'Windows-1256' encoding (for arabic) worked well for 
> showing letters just they were separate not joint. but in cuurent 
> versions this encoding just shows some symbols.
> I'm confused. maybe i should setup sth which i don't do or i don't know 
> sth else.
> that would be my appreciate to help me because it is really a need. Maps 
> without labels have less usage.
> Thanks in advance
> (See attachments)
> My Mapfile: 
> LABEL
>   TYPE TrueType
>   FONT timesnewromans
>   ENCODING 'windows-1256'
>   SIZE 12
> END
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list