[mapserver-users] Arabic text rendering

Ian Walberg ian.walberg at airborne.aero
Thu Oct 21 16:20:08 EDT 2010


Steve,

Many thanks for you help, we had an old version of fribidi and building
0.19.2 fixed the character join issue.

We do appear to have a couple of labels with square boxes (invalid chat
I assume) at the end but I need to check the source data as well.

Regards

Ian


-----Original Message-----
From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com] 
Sent: Thursday, October 21, 2010 9:51 AM
To: Ian Walberg
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Arabic text rendering

The key is to make sure you are using fribidi-0.19.2.tar.gz I do not use

fgs, so I'm not sure what they are using. I have downloaded the source 
and compiled and in stalled it under /usr/local/. Make sure you do NOT 
have the system package for fribidi installed as that is the old one 
that does not support the joining.

Did you copy the font file you used for ms4w to linux to make sure you 
are using the same file?

-Steve W

On 10/21/2010 11:04 AM, Ian Walberg wrote:
> Steve,
>
> Thanks for the reply.
>
> We have a working setup on Window using ms4w and used the same map,
> shape and fonts files on the Linux setup which is an fgs install but
> this shows the characters broken.
>
> Is anyone out using a working linux installation which correctly joins
> Arabic characters?
>
> Thanks
>
> Ian
>
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stephen
> Woodbridge
> Sent: Thursday, October 21, 2010 6:20 AM
> To: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] Arabic text rendering
>
> Ian,
>
> You have to get a truetype font that supports arabic and has all the
> chaining glyphs in it. Microsoft has an arial font that is about 24MB
> file size that is pretty good, not that I'm suggesting you violate
their
>
> EUA. There are also some commercial fonts that you can buy that do the
> job pretty well.
>
> You might ask for font suggestions on fribidi software list.
>
> As far as installation, all you need to do for maperver is copy the
font
>
> to a directory that your webserver can access, can create fontlist.txt
> that points to that font. Then you can referrence the file via the
alias
>
> you gave it in the fontlist.txt file. See the documentation for how to
> do this.
>
> -Steve W
>
> On 10/20/2010 10:08 AM, Ian Walberg wrote:
>> Does anyone have any experience with Arabic text on a Linux
>> installation?
>>
>> Thanks
>>
>> -----Original Message-----
>> From: mapserver-users-bounces at lists.osgeo.org
>> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian
>> Walberg
>> Sent: Monday, October 18, 2010 2:10 PM
>> To: mapserver-users at lists.osgeo.org
>> Subject: [mapserver-users] Arabic text rendering
>>
>> On Linux we are Arabic words rendered as individual characters and on
>> Windows the characters are joined correctly.
>>
>> Same map file, shapefile and font on each.
>>
>> We have tried both the mapserver and libs we have built from source
> and
>> the fgs binary install on Linux and both render individual
characters.
>>
>> Can anyone point me to what lib or config I need to change?
>>
>> Thanks
>>
>> Ian
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> _______________________________________________
> 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