[Mapserver-users] Working with TrueType Fonts

Daniel Morissette morissette@dmsolutions.ca
Wed, 15 Jan 2003 00:30:40 -0500


"Calin D. NITU" wrote:
> 
> I created a directory called FONT under the directory where it is the
> '*.map' file
> Here I put all the TTF files and I created a list with the fonts - named
> FONTS.TXT:
>         fritqat                     fritqat.ttf
>         fritqat-bold             fritqtb0.ttf
>         fritqat-italic             fritqti0.ttf
>         fritqat-bold-italic     fritqtb2.ttf
> 
>  The error that I get is
>            -  "MapServer Error in msGetLabelSize(): Could not find/open font
> in <the PHP file>....." - with PHP environment
>            -  "msGetLabelSize(): TrueType Font error. Could not find/open
> font"       - with clasic HTML
> 
> We are using the stabile version of MAPSERVER 3.6.
> 

Is your MapServer compiled with Freetype2 by any chance?  Freetype2
requires that your font (.ttf) file paths must be absolute in the
fontst.txt file.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette@dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users