<html>
Bertha,<br><br>
Drop the ".TTF" at the end of your FONT reference in your MAP
file.<br><br>
ie:<br>
TYPE TRUETYPE<br>
ANTIALIAS true<br>
FONT Tunga<br>
SIZE 14<br><br>
(Note: I don't use double quotes around the font alias, but I think it
works both ways). <br><br>
The word "Tunga" is all you need, since that is what you have
listed it as in your "fonts.list" file. <br><br>
Consider your fonts.list as a lookup table (or alias table) for fonts and
refer to them by their alias name only. Mapserver will load the
fonts.list file to find the path/filename of the actual TTF
file.<br><br>
Best,<br>
Tim<br>
<br><br>
At 11:16 PM 6/28/2002 +0200, bertha amalia serrato de la cruz
wrote:<br><br>
<blockquote type=cite class=cite cite>Hi<br><br>
i've treated use fonts on windows xp with ms-3.6 but mapserver doesn''t
recognize them<br><br>
i have a fonts.list in c:\fonts.list whit:<br><br>
Wingdings 2 c:\WINGDNG2.TTF<br>
Tunga
c:\tunga.TTF<br><br>
in the map file i have defined<br><br>
FONTSET "C:\fonts.list" <br><br>
and ..<br><br>
LABEL<br>
COLOR 0 0 0<br>
SHADOWCOLOR 218 218 218<br>
SHADOWSIZE 2 2<br>
#TYPE BITMAP<br>
TYPE TRUETYPE<br>
ANTIALIAS true<br>
FONT "tunga.TTF"<br>
SIZE 14<br>
#SIZE MEDIUM<br>
POSITION CC<br>
#PARTIALS FALSE<br>
#BUFFER 2<br>
END<br><br>
the error is:<br><br>
msGetLabelSize(): TrueType Font error. Requested font (tunga.TTF) not
found. <br><br>
why????<br><br>
<br><br>
<br>
*--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-<br>
LCC.Bertha A. Serrato<br>
bserrato@cicese.mx<br>
Laborratorio de Percepción Remota y S.I.G.<br>
CICESE,División de Ciencias de la Tierra.<br>
Ensenada, B.C.<br>
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*<br><br>
<br>
<b>Copa del Mundo de la FIFA 2002</b><br>
<a href="http://es.rd.yahoo.com/mail_es/tagline/fifa/vipclub/*http://fifaworldcup.yahoo.com/fc/es/">El
único lugar de Internet con vídeos de los 64 partidos ¡Apúntante ya!.</a>
</blockquote></html>