TrueType Font Error

Dirk Jesko jesko at GEOCONTENT.DE
Thu Aug 12 22:32:43 PDT 2004


Blaine,

Make sure the path to your font files does not have any blanks. I had
the same problem. Finally I moved the font directory including the
fontset.list from "C:\Programme\Apache Group\htdocs\..." to "C:\fonts"
and specified the full path to the fontset.list within the mapfile. This
works perfectly, even with relative paths in fontset.list. On a
different machine I installed Apache in "C:\Programme\ApacheGroup\..."
(without the blank). I that case it works even if the fontfiles reside
somewhere under that path.

Regards,
Dirk

Blaine Hackett wrote:

>All
>
>I have been wrestling with an issue and hope you can
>help.
>
>I have an XP computer running MapServer 3.6.6 and
>Apache 2.  Truetype fonts work fine.  I have another
>XP computer running 4.0.2 and Apache 2.  Truetype
>fonts do not work.
>
>Here is the scenario:
>If I use the default, my labels come out fine.
>However if I use "TYPE TRUETYPE" I get the following
>error.
>msGetLabelSize(): TrueType Font error. Could not
>find/open font
>
>In my map file I have tried all different ways to
>access the fontset.list file.  I know that it is
>finding the file because if I mess with the file in
>any way, it gives me a different error
>msLoadFontset(): Unable to access file. Error opening
>fontset font/fonts.list.
>
>I have exhaustively searched the archive and tried
>every suggestion but I cannot come up with a solution.
>
>Thanks
>Blaine
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Mail is new and improved - Check it out!
>http://promotions.yahoo.com/new_mail
>
>
>


--
--[ Dipl-Inf. Dirk Jesko ]----------
GeoContent GmbH
www.geocontent.de
--[ mailto:jesko at geocontent.de ]----



More information about the MapServer-users mailing list