[Mapserver-users] lable outline question

Steve Lime steve.lime at dnr.state.mn.us
Wed Dec 31 11:47:30 PST 2003


If you're using 4.0.x then there were no changes that I'm aware of. Do
you have some before and after samples?

Actually the code in 3.x and 4.0.x didn't work quite right, the outline
was not complete for certain letters and certain fonts. The tops of l's
and h's in arial italic are a good examples. So, I made the outlining
code more complete in the CVS version. They really look good now.

Steve

>>> Aaron Hunt <hunt at zedxinc.com> 12/31/2003 11:50:09 AM >>>
In mapserver 3.X, when I placed a white border around a label,
mapserver would 
draw a 1px border around the edge of the font. Now in my new 4.0.X I
get a 
white box around each letter. Has something changed or is there
something I 
am missing. The map file code is bellow. Thank you for any help.

LAYER
        NAME "YLABEL"
        TYPE point
        PROJECTION
                "proj=longlat"
                "ellps=GRS80"
                "unit=dd"
        END
        DATA "points"
        STATUS ON
        LABELITEM "LABLE"

        CLASS
                NAME "default"
                COLOR -1 -1 -1
                OUTLINECOLOR -1 -1 -1
                LABEL

                        COLOR 0 0 0
                        OUTLINECOLOR  255 255 255
                        FONT arial
                        FORCE TRUE
                        SIZE 12
                        POSITION cc
                        ANTIALIAS TRUE
                        TYPE TRUETYPE
                        WRAP "~"
                END

        END
END


-- 
Aaron D. Hunt
ZedX Inc.


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list