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

2008-11-18 Thread Stephen Woodbridge

OK, this is great. I think I learned something new then.
With ANGLE AUTO you can ask GD to draw the whole string at the specified 
angle. But there is not equivalent function in GD for ANGLE FOLLOW. The 
only way we can do that is one character at a time, changing the 
insertion point and angle of each character.


I know Thomas has put a lot of effort into make the AGG render well 
integrated with mapserver. It would probably be a good idea to document 
this issue and the fact that the outlinecolor is what is causing in a 
bug. http://trac.osgeo.org/mapserver/  If you do not have an OSGeo 
userid, follow the link to get one first.


Thank you for your patience and Thank you, Tanya, for your excellent 
observations on this issue.


-Steve W


Jackey Cheung wrote:

Following TC's suggestion, I've done a test.

With this map file layer:

LAYER
NAMEroad
STATUSDEFAULT
TYPELINE
UNITSMETERS
CONNECTIONTYPEPOSTGIS
CONNECTIONhost=localhost dbname=ttt user=uuu 
password=xxx
DATAgeom FROM view_road_ar USING 
UNIQUE oid USING SRID=4326


LABELITEMname

CLASS
STYLE
WIDTH16
COLOR0 0 0
ANTIALIASTRUE
END
STYLE
WIDTH15.8
COLOR255 200 64
ANTIALIASTRUE
END
LABEL
ANGLEFOLLOW

ENCODINGUTF-8
COLOR0 0 0
OUTLINECOLOR255 255 255
TYPETRUETYPE
FONTarial
SIZE24
ANTIALIASTRUE
POSITIONAUTO
PARTIALSFALSE
BUFFER50
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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2008-11-18 Thread Jackey Cheung
Dear Stephen,

I've filed a ticket http://trac.osgeo.org/mapserver/ticket/2812.

Thank you very much for the help! Thank you TC, Stephen, and Dane.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users