[mapserver-users] Arabic text rendering

Ian Walberg ian.walberg at airborne.aero
Thu Oct 21 11:04:42 EDT 2010


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