[mapserver-users] About font sizes
Paul Ramsey
pramsey at opengeo.org
Tue Mar 3 15:53:47 PST 2009
You have to both compile Mapserver with AGG support and ensure that
your outputformat is using the AGG driver to get AGG rendering. If
you're not doing both those, you're getting GD rendering, which is the
(faster/less attractive) default.
P
On Mon, Mar 2, 2009 at 6:23 PM, GMail <cheung.jackey at gmail.com> wrote:
> 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?
>
> _______________________________________________
> 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