[Mapserver-west] Using TTF for symbols

Dean C. Mikkelsen dcmikkelsen at shaw.ca
Fri May 13 16:14:43 EDT 2005


Hi there!

I found another way to create the symbols for this project using the
ESRI True Type Fonts library.

Here is the post I found from the Chamelon thread:

http://lists.maptools.org/pipermail/chameleon/2004-July/001065.html

In full below:

Dear List:

I am stuck.  I've copied the ESRI Oil, Gas, & Water TTF from my
Windows\font directory into the \etc folder.  I added the following to
my font.txt file:
esri_4    esri_4.ttf

and I have added the following to my symbol.sym file:
SYMBOL
NAME 'gaswell'
TYPE TRUETYPE
FONT esri_4
FILLED true
ANTIALIAS true
CHARACTER '3'
END

In my map file I have the following:
LAYER
  NAME gas_wells_120603
  METADATA
    "DESCRIPTION"   "Wells"
    "RESULT_FIELDS" "Layer"
  END
MAXSCALE 30000  
TYPE POINT
  STATUS ON
  DATA gas_wells_120603
  LabelItem "Layer"  
  CLASSITEM "Type" 
 
CLASS
    EXPRESSION "1"  
    TEMPLATE "ttt_query.html"
    SYMBOL 'cbm'
    SIZE 4
    NAME cbm
    
    COLOR 50 249 242
  END
 
  TOLERANCE 5
END # Layer




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/mapserver-west/attachments/20050513/9e65f30e/attachment.html


More information about the Mapserver-west mailing list