[mapserver-users] About font sizes
GMail
cheung.jackey at gmail.com
Mon Mar 2 18:23:55 PST 2009
Greetings!
The attached image is generated with the following:
LABEL
PRIORITY 5
ENCODING "UTF-8"
COLOR 32 32 32
OUTLINECOLOR 255 255 255
TYPE TRUETYPE
FONT "arial"
SIZE 7
BUFFER 2
POSITION AUTO
PARTIALS FALSE
MINFEATURESIZE 25
WRAP " "
MAXLENGTH 8
ALIGN CENTER
END
The most obvious issue is the character "t" and "o", which are stuck
together. Actually, the "Ria" part of the word are closer together, and the
"l" seems a bit separated from parts.
I've checked that the AGG engine can render text with sub-pixel precision,
and can render down to 6px font size clearly. Just curious, how mapserver
does the text rendering?
I'm not sure which part of the above label object goes wrong. Any light?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: text.JPG
Type: image/jpeg
Size: 935 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090303/d0d341ab/attachment.jpe>
More information about the MapServer-users
mailing list