TRUETYPE Labels on Solaris

Don Drake dondrake at GMAIL.COM
Tue Mar 29 15:00:41 PST 2005


Does anyone have TrueType labels working on Solaris?  I am struggling
to get these to work.  Our application is being ported to Solaris and
I've noticed that this simple layer will crash the PHP/Mapscript when
I choose the TrueType Type in the map file.

I also get no debugging output.

The same layer works just fine on my Linux servers.

Here's the layer:

        LAYER
                DEBUG ON
                NAME "credits"
                STATUS ON
                TRANSFORM FALSE
                TYPE ANNOTATION
                FEATURE
                        POINTS
                                10 440
                        END
                        TEXT 'Copyright 2005'
                END
                  CLASSPSERVER-USERS at lists.umn.edu
                        LABEL
                                POSITION CR
                                COLOR 255 255 255
                                PARTIALS FALSE
                                FONT "arial"
                                #TYPE BITMAP
                                #SIZE small
                                TYPE TRUETYPE
                                SIZE 8
                                BUFFER 4
                                MINDISTANCE 300
                                MINFEATURESIZE 10
                                OUTLINECOLOR 37 62 130
                                ANTIALIAS TRUE
                                FORCE on
                        END
                END
        END

Any suggestions? I'm on Solaris 9, Mapserver 4.4.1, gd 2.0.33, freetype 2.1.9.

If I change the type to bitmap, nothing crashes and I see maps.

Thanks.

-Don

--
Donald Drake
President
Drake Consulting
http://www.drakeconsult.com/
http://www.MailLaunder.com/
http://www.mobilemeridian.com/
312-560-1574



More information about the MapServer-users mailing list