[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [mapserver-users] fonts with ms-3.6



 Hi

I've changed as you suggest me but the error is:

msGetLabelSize(): TrueType Font error. Requested font (Tunga) not found.

i don't know what doesn't find tunga font , i don't understand and i'm in a dead end with this.

 

  "Timothy M. Thompson" <tim@GrizzlyLogic.com> escribió:

Bertha,

Drop the ".TTF" at the end of your FONT reference in your MAP file.

ie:
      TYPE TRUETYPE
      ANTIALIAS true
      FONT Tunga
      SIZE 14

(Note: I don't use double quotes around the font alias, but I think it works both ways). 

The word "Tunga" is all you need, since that is what you have listed it as in your "fonts.list" file. 

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.

Best,
Tim
 


*--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
LCC.Bertha A. Serrato
bserrato@cicese.mx
Laboratorio de Percepción Remota y S.I.G.
CICESE,División de Ciencias de la Tierra.
Ensenada, B.C.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


Copa del Mundo de la FIFA 2002
El único lugar de Internet con vídeos de los 64 partidos ¡Apúntante ya!.