[mapserver-users] font support problem
William Kyngesburye
woklist at kyngchaos.com
Wed Jun 1 07:11:34 PDT 2011
Freetype is not the problem. I already figured it out - my gd font support needs -liconv and configure is not adding it to the gd test. It looks like the mapserver configure doesn't get the libs from the gdlib-config script but makes a common guess.
I thought I had this working in the past, but it's possible I only recently added iconv support to my gd. I forget.
On Jun 1, 2011, at 8:49 AM, Stephen Woodbridge wrote:
> ./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
>
> _______________________________________________
> 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/
The equator is so long, it could encircle the earth completely once.
More information about the MapServer-users
mailing list