Fwd: [mapserver-users] Failed to show Arabic labels with MapServer 5.2
Jackey Cheung
cheung.jackey at gmail.com
Tue Nov 18 17:27:28 PST 2008
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081119/8779f0d8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: angle_auto.jpg
Type: image/jpeg
Size: 11763 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081119/8779f0d8/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: angle_follow.jpg
Type: image/jpeg
Size: 4527 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081119/8779f0d8/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_outline.jpg
Type: image/jpeg
Size: 2887 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081119/8779f0d8/attachment-0002.jpg>
More information about the MapServer-users
mailing list