[Mapserver-users] Working with TrueType Fonts
Daniel Morissette
morissette at dmsolutions.ca
Tue Jan 14 21:30:40 PST 2003
"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 at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list