[Mapserver-users] can't display truetype fonts
Daniel Berstein
dbz at soli.cl
Fri Jul 9 13:59:58 PDT 2004
Hola Kgrootendorst,
This error seems to happen when there are white spaces in the path of
your map, font list, or fonts files. i.e: c:\my fonts\arial.ttf
Saludos,
Daniel Berstein Z. mailto:dbz at soli.cl
Con fecha viernes, 09 de julio de 2004 14:36:00, escribiste:
kbc> Dylan,
kbc> Once I specified the absolute path tothe font in the
kbc> fonts.txt file, everything worked!
kbc> Thanks.
kbc> Kevin
kbc> Dylan Keon <keon at nacse.org>
kbc> 07/09/2004 02:25 PM
kbc> To
kbc> kgrootendorst at baird.comcc
kbc> mapserver-users at lists.gis.umn.eduSubject
kbc> [SPAM] - Re: [Mapserver-users]can't display truetype fonts - Email found in subject
kbc> Double check that you have the correct FONTSET inyour mapfile. You
kbc> might try giving FONTSET an absolute path, if you haven't already (e.g.,
kbc> on my Linux box, FONTSET /www/fonts/fonts.txt). I've found that Ialso
kbc> need to use absolute paths within my fonts.txt file (e.g., arial
kbc> /www/fonts/TrueType/arial.ttf).
kbc> --Dylan
kbc> kgrootendorst at baird.com wrote:
>>
>> I'm having trouble with using true type fonts in my mapserver
>> application. Basically, if I specify a label as truetype, Ireceive the
>> following message: "msGetLabelSize(): TrueType Font error.Could not
>> find/open font ."
>> If I specify a label as bitmap, it displays correctly.
>> My paths are correct and no problems were noticed during installation.
>> I'm not sure why this is happening - should I have some type of
>> 'truetype.dll' somewhere?
>>
>> I'm running the following:
>> Windows 2000
>> Mapserver 4.2
>> php mapscript 4.3.4
>> Apache 2.0
>>
>> *MapScript*
>> *MapServer Version * MapServer version 4.2.0 OUTPUT=GIF OUTPUT=PNG
>> OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ
>> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
>> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=POSTGIS INPUT=OGR
>> INPUT=GDAL INPUT=SHAPEFILE
>> *PHP MapScript Version * ($Revision: 1.194.2.3 $ $Date: 2004/05/13
>> 21:37:44 $)
>>
>>
>>
>> Any help would be greatly appreciated. Thanks.
>>
>> Kevin
More information about the MapServer-users
mailing list