[mapserver-users] Failed to show Arabic labels with MapServer 5.2

TC Haddad tchaddad at gmail.com
Tue Nov 18 19:21:30 PST 2008


Jackey

I've subscribed to your ticket in case I can be of further help down the road.

In the meantime, based on looking at your last example, the labels
without OUTLINECOLOR are pretty good, the one thing I would recommend
further is decreasing your font size by a point or two. This will
minimize the occurence of small fractures that happen when the label
bends around a tight curve (something almost inevitable).

On Tue, Nov 18, 2008 at 5:27 PM, Jackey Cheung <cheung.jackey at gmail.com> wrote:

> Following TC's suggestion, I've done a test.
>
> With this map file layer:
>
>     LAYER
>         NAME                            "road"
>         STATUS                        DEFAULT
>         TYPE                            LINE
>         UNITS                            METERS
>         CONNECTIONTYPE        POSTGIS
>         CONNECTION                "host=localhost dbname=ttt user=uuu
> password=xxx"
>         DATA                            "geom FROM view_road_ar USING UNIQUE
> oid USING SRID=4326"
>
>         LABELITEM                    "name"
>
>         CLASS
>             STYLE
>                 WIDTH                    16
>                 COLOR                    0 0 0
>                 ANTIALIAS            TRUE
>             END
>             STYLE
>                 WIDTH                    15.8
>                 COLOR                    255 200 64
>                 ANTIALIAS            TRUE
>             END
>             LABEL
>                 ANGLE                    FOLLOW
>                 ENCODING            "UTF-8"
>                 COLOR                    0 0 0
>                 OUTLINECOLOR    255 255 255
>                 TYPE                    TRUETYPE
>                 FONT                    arial
>                 SIZE                    24
>                 ANTIALIAS            TRUE
>                 POSITION            AUTO
>                 PARTIALS            FALSE
>                 BUFFER                50
>             END
>         END
>     END
>
> With nothing changed, only change the ANGLE to AUTO and FOLLOW, the
> generated images confirms the different processs of ANGLE AUTO & FOLLOW.
> Then I've done one more test which uses ANGLE FOLLOW, but with OUTLINECOLOR
> removed, then generated image shows "fractured" words.
>
> _______________________________________________
> 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