[Mapserver-users] TrueType ERROR

Tyler Mitchell TMitchell at lignum.com
Tue Jan 20 19:14:07 EST 2004





mapserver-users-admin at lists.gis.umn.edu wrote on 01/20/2004 02:18:46 PM:

> I'm getting trouble on trying to plot some TrueType labels over an
> annotation layer.
>
> my application is set at the physical path C:\Program Files\Apache
> Group\Apache2\htdocs\loteamentos\
>
> inside this path, there's the fontset file ( fontset.txt ) which
contains:
> ------------
> arial arial.ttf
> ----------------
> and the arial.ttf file is in this same path
>
> I also tried using:
> arial C:\Program Files\Apache Group\Apache2\htdocs\loteamentos\aria.ttf
>
> but it didn't work too.
<snip>

What error are you getting?  I bet it won't like the spaces in the full
path name.
Try "quoting" the full path name.  Also, I notice in your above example
that you have a typo:
....\aria.ttf  - I assume you have it right in your fontset.txt file :)
You may also want to try specifying your path like:
"/Program Files/Apache Group/Apache2/htdocs/loteamentos/arial.ttf" - as
long as your mapserver app is on the same drive it should work.
One more idea is to use "short filenames" like:
"/Progra~1/Apache~1/Apache2/htdocs/loteamentos/arial.ttf".

As you may have noticed, I haven't the slightest clue what your problem
might be :)  Hope these might help anyway.

Tyler




More information about the mapserver-users mailing list