TrueType Font Error
Blaine Hackett
blaine_hack1 at YAHOO.COM
Fri Aug 13 13:49:57 PDT 2004
Sorry Ed. Sometimes I forget to "reply all".
Anyway. I have successfully accessed the TrueType
font by hardcoding the path to the "C:/windows/font"
directory in the font.list file.
Dirk Jesko wrote that he had the same problem and
fixed it by copying the fonts to C:/font.
The thing that gets me is that I have virtually the
same setup on two computers and one works fine but the
other doesn't.
I guess I will go with this solution for now.
Thanks to everyone for the help.
Blaine
--- Ed McNierney <ed at topozone.com> wrote:
> Blaine -
>
> Don't rely on what the "current directory" is for
> paths - if possible, use fully-qualified pathnames.
> Try adding the complete path to each font file to
> see if that fixes the problem, and always please
> reply to the whole list - thanks!
>
> - Ed
>
> -----Original Message-----
> From: Blaine Hackett [mailto:blaine_hack1 at yahoo.com]
> Sent: Thu 8/12/2004 9:00 PM
> To: Ed McNierney
> Subject: Re: [UMN_MAPSERVER-USERS] TrueType Font
> Error
>
> Ed
>
> So your saying it can't find the font the fonlist
> file
> is directing it to?
>
> I have the fonts in the same directory as the
> fontset
> file. I have tried hardcoding the path in the
> fons.list file to the .ttf file and it still gives
> me
> the same error.
>
> Blaine
> --- Ed McNierney <ed at TOPOZONE.COM> wrote:
>
> > Blaine -
> >
> > Yes, but that error means MapServer can't find the
> > specific font that's
> > listed in the fonts.list file. Look at the name
> of
> > the font you're
> > using, then find that name in the fonts.list file,
> > and follow the path
> > to the font file.
> >
> > - Ed
> >
> > Ed McNierney
> > President and Chief Mapmaker
> > TopoZone.com / Maps a la carte, Inc.
> > 73 Princeton Street, Suite 305
> > North Chelmsford, MA 01863
> > Phone: +1 978 251-4242 Fax: +1 978 251-1396
> >
> > -----Original Message-----
> > From: UMN MapServer Users List
> > [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
> > Behalf Of Blaine Hackett
> > Sent: Thursday, August 12, 2004 6:23 PM
> > To: MAPSERVER-USERS at LISTS.UMN.EDU
> > Subject: [UMN_MAPSERVER-USERS] TrueType Font Error
> >
> > 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
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
>
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
More information about the MapServer-users
mailing list