[mapserver-users] fonts with ms-3.6

bertha amalia serrato de la cruz bertha_bonita at yahoo.com
Mon Jul 1 13:27:01 EDT 2002


 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 at 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 at 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!.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020701/94916eb0/attachment.html


More information about the mapserver-users mailing list