TRUETYPE Labels on Solaris
woodbri at SWOODBRIDGE.COM
Tue Mar 29 19:24:25 EST 2005
You might check and make sure that you are using the same version of
freetype in BOTH PHP and mapserver otherwise there may be issues. You
might need to build both PHP and mapserver from source if you haven't.
Also make use that the version of freetype that you compiled against is
the version that you are actually loading at runtime. You might have a
different system version that is getting loaded.
Don Drake wrote:
> 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:
> DEBUG ON
> NAME "credits"
> STATUS ON
> TRANSFORM FALSE
> TYPE ANNOTATION
> 10 440
> TEXT 'Copyright 2005'
> CLASSPSERVER-USERS at lists.umn.edu
> 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
> 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.
> Donald Drake
> Drake Consulting
More information about the mapserver-users