[mapserver-users] MapInfo Truetype fonts

Gunter.Rieth at stadt.mainz.de Gunter.Rieth at stadt.mainz.de
Mon Jun 3 00:42:52 PDT 2002


hi Anders,

this is how I do it under Windows2000 with mapserver.
The file  "GPGSymbole" is a .ttf Truetype fonts file and was added into fonts.txt like all the 
others.
Then you have to find out what letter on the keyboard expresses your 
symbol.  This can be done inside MS Word or other programms using the Font 
 GPGSymbole and printing all the keys.



LAYER
   NAME symbols
   TYPE ANNOTATION
   MINSCALE 500
   MAXSCALE 1500
   CONNECTIONTYPE OGR
   CONNECTION "x:/demo/data/xxxx/topkt1.TAB"
   STATUS DEFAULT
     CLASS
          NAME  "Symbol_3484"
         EXPRESSION ( [OSCHL] eq 3484 )
         TEXT "-"
             LABEL
               FORCE true
              COLOR 0 0 255
              TYPE TRUETYPE
              FONT "GPGSymbole"
              SIZE 10
            END
      END
    CLASS
      NAME  "Symbol_5281"
      EXPRESSION ( [OSCHL] eq 5281 )
      TEXT "T"
         LABEL
            COLOR 0 0 255
            FORCE true
           TYPE TRUETYPE
           FONT "GPGSymbole"
           SIZE 10
       END
    END
.....


Gunter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020603/5b14bdbb/attachment.htm>


More information about the MapServer-users mailing list