[mapserver-users] font OUTLINE not working for all fonts in 6.2.0

thomas bonfort thomas.bonfort at gmail.com
Fri Oct 18 02:50:26 PDT 2013


Charlton,
I was going to reply that the agg font outliner does not play well
with glyphs that contain invalid glyphs (e.g self-intersections,
duplicate control-points, etc...). However I've tested that glyph on a
simple test mapfile and the outlining works flawlessly (c.f. attached
image). I did test with 6.4 and not 6.2, but I do not believe there
are any differences between these two versions for this particular
testcase. Maybe you can try with 6.4?

--
thomas

On 17 October 2013 22:43, Charlton Galvarino <charlton at 2creek.com> wrote:
> I got around this by drawing my own simple SYMBOL triangle.  But the mystery
> still remains!
>
>
>
> From: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Charlton
> Galvarino
> Sent: Thursday, October 17, 2013 3:43 PM
> To: Mapserver Users (mapserver-users at lists.osgeo.org)
> Subject: [mapserver-users] font OUTLINE not working for all fonts in 6.2.0
>
>
>
> Hi, all.
>
>
>
> If I take the simple example like the one from the docs,
>
>
>
> LABEL
>
>   COLOR  150 150 150
>
>   OUTLINECOLOR 0 0 0
>
>   FONT "arial"
>
>   TYPE truetype
>
>   SIZE 6
>
>   POSITION AUTO
>
>   PARTIALS FALSE
>
> END
>
>
>
> I see a nice outline.  But if I change the FONT to what I really want
> (esri_cart), I don’t see my outline anymore
> (http://www.fonts2u.com/esri-cartography.font).  I do see the symbol drawn
> in 150 150 150, though.
>
>
>
> My MS production environment is 5.6.1, but I’m testing 6.2.0 now.  Better
> late than never.  In any case, this particular font outlined just fine in
> 5.6.1 but not here in 6.2.0, and I don’t know truetypes enough to know what
> the issue might be.
>
>
>
> And here’s the real kicker:  I am after the arrowhead in the attachment
> (#182).  If I change my text to be #180, I *do* see the outline in 6.2.0.
> So what is special about this bad boy?
>
>
>
> TIA.
>
>
>
> MapServer version 6.2.0 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG
> SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=GEOS
> INPUT=JPEG INPUT=SHAPEFILE
>
>
>
>
>
>
>
>
>
>
>
> Charlton Galvarino
>
> 1 (803) 233-6205 : voice
>
> 1 (803) 223-9579 : fax
>
> charlton at 2creek.com
>
>
>
> P.O. Box 50960
>
> Columbia, SC 29250
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fonts.lst
Type: application/octet-stream
Size: 25 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131018/c91e95a3/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.map
Type: application/octet-stream
Size: 334 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131018/c91e95a3/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 734 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131018/c91e95a3/attachment.png>


More information about the MapServer-users mailing list