[mapserver-users] font support problem

Stephen Woodbridge woodbri at swoodbridge.com
Wed Jun 1 06:49:52 PDT 2011


./configure can not find your truetype font includes and/or libs. You 
need to make sure you have the truetype package installed on Linux this 
is called something like freetype2. On my debian system:

ls /usr/include/freetype2/freetype/
config        ftcid.h     ftimage.h   ftmodapi.h  ftsnames.h  ftxf86.h
freetype.h    fterrdef.h  ftincrem.h  ftmoderr.h  ftstroke.h  t1tables.h
ftbbox.h      fterrors.h  ftlcdfil.h  ftotval.h   ftsynth.h   ttnameid.h
ftbdf.h       ftgasp.h    ftlist.h    ftoutln.h   ftsystem.h  tttables.h
ftbitmap.h    ftglyph.h   ftlzw.h     ftpfr.h     fttrigon.h  tttags.h
ftcache.h     ftgxval.h   ftmac.h     ftrender.h  fttypes.h   ttunpat.h
ftchapters.h  ftgzip.h    ftmm.h      ftsizes.h   ftwinfnt.h


ls /usr/lib/libfreetype.*
/usr/lib/libfreetype.a   /usr/lib/libfreetype.so.6
/usr/lib/libfreetype.la  /usr/lib/libfreetype.so.6.3.18
/usr/lib/libfreetype.so


-Steve W

On 6/1/2011 9:44 AM, William Kyngesburye wrote:
> It would help if I turned off the find words option ;)  There it is in configure, I just need to figure out why it was disabled.
>
> On Jun 1, 2011, at 8:40 AM, William Kyngesburye wrote:
>
>> Something has killed my font support in MapServer in the compilation stage.
>>
>> I'm getting a "Keyword FONT is not valid without TrueType font support" error at runtime.  It looks like font support is conditionalized on USE_GD_TTF or USE_GD_FT, but I can't figure out where this is set in configuration.  I don't see those in the GD sources either.
>>
>> -----
>> William Kyngesburye<kyngchaos*at*kyngchaos*dot*com>
>> http://www.kyngchaos.com/
>>
>> "Time is an illusion - lunchtime doubly so."
>>
>> - Ford Prefect
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> -----
> William Kyngesburye<kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "Time is an illusion - lunchtime doubly so."
>
> - Ford Prefect
>
>
> _______________________________________________
> 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