[Mapserver-users] problem on symbol rendering from a truetype font
Lowther, David W
dlowther at ou.edu
Wed Feb 5 07:29:27 PST 2003
Roberto,
Maybe if you added a field to your DBF with the character for the weather
font you wanted to symbolize you could label using the weather font?
Dave
> -----Original Message-----
> From: Roberto_Santinelli [mailto:Roberto.Santinelli at pg.infn.it]
> Sent: Wednesday, February 05, 2003 9:08 AM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] problem on symbol rendering from a
> truetype font
>
>
> HI every body,
> just today i understood a nice way to solve my problem about
> the rendering of
> symbol from ArcView to MapServer but, as you know, a solution
> would imply a lot
> of many other problem.....exactly like chinese box.
> Ok let me try to explain you my topic.
> I have the need to convert an arcview pallette (avp) in to a ttf file
> (TrueTypeFont).
> (BY THE WAY, there is someone knowing how to do.....)
>
> Let me suppose now i ' m able to have a true type font from
> ArcView and let me
> show you the following piece of my map file:
>
>
> LAYER
> NAME capitals
> TYPE POINT
> STATUS ON
> DATA Center.shp
> CLASS
> SYMBOL 'natcap'
> NAME 'capitals'
> COLOR 255 255 0
> OUTLINE COLOR 0 0 0
> END
> END
> ......
> ......
>
> SYMBOL
> NAME 'natcap'
> TYPE TRUETYPE
> FONT WEATHER
> FILLED TRUE
> ANTIALIAS TRUE
> CHARACTER "" #this choise is pretty random!
> END
>
> --**********--------------------
> The FONT WEATHER is correcly setted and also it's present in
> my font.list file. I also put all the ttf file in the same
> subdirectory as well as font.list
> file.
>
> The problem:
> MS is unable to display my capitals. I have a completly wide
> windows.
> I also tried other way. For examle replaced this symbol
> definition with
> the following:
> *---------------------
> SYMBOL
> Name 'natcap'
> TYPE PIXMAP
> Images 'symbols/images/centri.gif'
> END
> *---------------------
> In this case it display correctly all my capitals.
>
> Dues to the fact i had also problem in the visualization of
> legend using
> truetype font, i changed my Mapserver passing from 3.7 to 3.6
> (with GDAL
> support, essential for my purpose).
> Now i'm able to see my legend with arial-bold font,but not
> yet able to display
> my capitals, even if the Weather.ttf file is present.
>
> Some suggestions?
>
> How to do?
>
> Thanks again in advance for your help
>
>
> All the best
> Roberto Santinelli
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
>
More information about the MapServer-users
mailing list