[mapserver-users] True Type font

Pericles S. Nacionales pnaciona at gis.umn.edu
Mon Apr 30 11:20:43 PDT 2001


Sorry to have disappeared for some time.  I'm back and thought I could add 
a thing or two here.  Here's what I do with FONTSET, fonts.list, and fonts 
on Windows:

1. I put the fonts and the fonts.list in the same directory.  This 
directory can be anywhere, in any drive (partition), so long as MapServer
have read access to it.  In my case (and as an example), this directory
resides in the E drive--E:\Projects\fonts.  I can't quite understand why 
anyone would put fonts in several different directories and partitions.

Here's a tidbit of my fonts.list--notice I don't have the paths included:

andale-mono                     andalemo.ttf
arial                           arial.ttf
arial-bold                      arialbd.ttf
arial-italic                    ariali.ttf
arial-bold-italic               arialbi.ttf
arial_black                     ariblk.ttf
arial_narrow                    arialn.ttf
arial_narrow-bold               arialnb.ttf
arial_narrow-italic             arialni.ttf
arial_narrow-bold-italic        arialnbi.ttf

By the way, the projects directory (E:\Projects) is also mapped as a
virtual directory (an alias) for the web server (/projects).  I don't
think this matters for the fonts and mapserver...  I could be wrong.

2. On my map file, I add the line:
FONTSET "E:\Projects\fonts"

That's all and I hope it helps.

-Perry Nacionales


Pericles S. Nacionales 
Research Assistant
GIS and Remote Sensing Lab
Department of Forest Resources
University of Minnesota

(612) 624-3459
pnaciona at gis.umn.edu

On Mon, 30 Apr 2001, Stephen Lime wrote:

> Someone on windows will have to verify a work around to use drive letters, MapServer
> uses the chdir function which could cause the problems, but I can't test since I'm not 
> actively using that platform. ;-)
> 
> Steve
> 
> Stephen Lime
> Internet Applications Analyst
> 
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
> 
> >>> "Eduin Yesid Carrillo" <yecarrillo at hotmail.com> 04/27/01 04:24PM >>>
> What if I have more than one disks or partitions?
> This paths are relative to the partition on wich MS are running?
> 
> Why MS doesn't recognize partition letters (C:, D: E:)?
> 
> ----------------------------
> Eduin Yesid Carrillo
> Ingeniero Civil
> CIUDAD DIGITAL
> Central de Información Regional Georefenciada
> Bucaramanga - Colombia
> yecarrillo at hotmail.com 
> yecarrillo at condorito.uis.edu.co 
> #ICQ 14323531
> 
> 
> >From: Chad Streck <chads at adci.com>
> >To: yecarrillo at condorito.uis.edu.co 
> >Subject: Re: [mapserver-users] True Type font
> >Date: Fri, 27 Apr 2001 12:41:36 -0500
> >
> >This is the fonts.list file that I use on my IIS server, and it works
> >for me....
> >
> >helvbold                /InetPub/wwwroot/maps/fonts/helb____.ttf
> >helvbolditalic          /InetPub/wwwroot/maps/fonts/helbi___.ttf
> >helvitalic              /InetPub/wwwroot/maps/fonts/heli____.ttf
> >helv                    /InetPub/wwwroot/maps/fonts/helr____.ttf
> >timesbold               /InetPub/wwwroot/maps/fonts/timb____.ttf
> >timesbolditalic         /InetPub/wwwroot/maps/fonts/timbi___.ttf
> >timesitalic             /InetPub/wwwroot/maps/fonts/timi____.ttf
> >times                   /InetPub/wwwroot/maps/fonts/timr____.ttf
> >
> >Notice the forward slash instead of a single or dual backslash.
> >
> >Chad
> >
> >
> 
> 
> 
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> 




More information about the MapServer-users mailing list