Using truetype fonts (Linux)
Stephen Woodbridge
woodbri at SWOODBRIDGE.COM
Sat Nov 26 18:14:36 PST 2005
Stephen,
The file format is lines like:
<font_name> </path/to/font/file>
arial /usr/share/fonts/truetype/arial.ttf
arial-bold /usr/share/fonts/truetype/arial-bold.ttf
I think blank lines are ignored and maybe lines starting with '#', but
not sure on these.
<font_name> it the name you refer to in your mapfile
</path/to/font/file> is the actual path to the font file you want to use
-Steve W.
Stephen Davies wrote:
> G'day.
>
> I see references in postings and doco to fonts.list as what looks like a
> mechanism for telling mapserver where to find truetype fonts but I
> cannot find anything to tell me the format of this file.
>
> The recent paper on cartographic symbols refers to "the ALIAS name of
> the font file to the parameter FONT as defined in the file fonts.list".
> What does this mean?
>
> I have a pretty full set of truetype fonts installed and use them
> successfully with other software but have no file called fonts.list
> anywhere on the system.
>
> Is this maybe a windows-specific thing?
> If so, how does one use truetype fonts with mapserver under Linux?
>
> Cheers and thanks,
> Stephen
>
More information about the MapServer-users
mailing list