[mapserver-commits] r12000 - branches/branch-6-0/docs/en/mapfile trunk/docs/en/mapfile

svn at osgeo.org svn at osgeo.org
Fri Aug 5 05:18:49 EDT 2011


Author: havatv
Date: 2011-08-05 02:18:48 -0700 (Fri, 05 Aug 2011)
New Revision: 12000

Modified:
   branches/branch-6-0/docs/en/mapfile/fontset.txt
   trunk/docs/en/mapfile/fontset.txt
Log:
Improved explanation in fontset (#3091)

Modified: branches/branch-6-0/docs/en/mapfile/fontset.txt
===================================================================
--- branches/branch-6-0/docs/en/mapfile/fontset.txt	2011-08-05 08:43:55 UTC (rev 11999)
+++ branches/branch-6-0/docs/en/mapfile/fontset.txt	2011-08-05 09:18:48 UTC (rev 12000)
@@ -15,17 +15,28 @@
     :depth: 2
     :backlinks: top
 
-Format 
-======
-The format is very simple. Each line contains 2 items: an alias and 
-the name/path of the font separated by white space. The alias is simply 
-the name you refer to the font as in your :ref:`mapfile` (eg. times-bold). 
-The name is the actual name of the TrueType file. If not full path then 
-it is interpreted as relative to the location of the fontset. Here's the
-fontset I use (the font.list file and all .ttf files are stored in the 
-same sub-directory).
+`FONTSET` is a :ref:`MAP` parameter.  The syntax is:
 
+::
 
+  FONTSET [filename]
+
+Where `filename` gives the location of the fontset file of the system.
+The location of the system fontset file could for instance be
+/usr/share/fonts/truetype/font.list (Debian).  The location can be
+specified using a relative or absolute path.
+
+Format of the fontset file
+======================================================================
+The format of the fontset file is very simple. Each line contains 2
+items: An alias and the name/path of the font separated by white
+space. The alias is simply the name you refer to the font as in your
+:ref:`mapfile` (eg. times-bold).  The name is the actual name of the
+TrueType file. If not full path then it is interpreted as relative to
+the location of the fontset. Here's the fontset I use (the font.list
+file and all .ttf files are stored in the same sub-directory).
+
+
 .. note:: Aliases are case sensitive. Excellent reference information about
     the TrueType format and online font resources is available from the 
     `FreeType`_.
@@ -64,4 +75,4 @@
       verdana-bold-italic             verdanaz.ttf
 
        
-.. _FreeType: http://www.freetype.org/
\ No newline at end of file
+.. _FreeType: http://www.freetype.org/

Modified: trunk/docs/en/mapfile/fontset.txt
===================================================================
--- trunk/docs/en/mapfile/fontset.txt	2011-08-05 08:43:55 UTC (rev 11999)
+++ trunk/docs/en/mapfile/fontset.txt	2011-08-05 09:18:48 UTC (rev 12000)
@@ -15,17 +15,28 @@
     :depth: 2
     :backlinks: top
 
-Format 
-======
-The format is very simple. Each line contains 2 items: an alias and 
-the name/path of the font separated by white space. The alias is simply 
-the name you refer to the font as in your :ref:`mapfile` (eg. times-bold). 
-The name is the actual name of the TrueType file. If not full path then 
-it is interpreted as relative to the location of the fontset. Here's the
-fontset I use (the font.list file and all .ttf files are stored in the 
-same sub-directory).
+`FONTSET` is a :ref:`MAP` parameter.  The syntax is:
 
+::
 
+  FONTSET [filename]
+
+Where `filename` gives the location of the fontset file of the system.
+The location of the system fontset file could for instance be
+/usr/share/fonts/truetype/font.list (Debian).  The location can be
+specified using a relative or absolute path.
+
+Format of the fontset file
+======================================================================
+The format of the fontset file is very simple. Each line contains 2
+items: An alias and the name/path of the font separated by white
+space. The alias is simply the name you refer to the font as in your
+:ref:`mapfile` (eg. times-bold).  The name is the actual name of the
+TrueType file. If not full path then it is interpreted as relative to
+the location of the fontset. Here's the fontset I use (the font.list
+file and all .ttf files are stored in the same sub-directory).
+
+
 .. note:: Aliases are case sensitive. Excellent reference information about
     the TrueType format and online font resources is available from the 
     `FreeType`_.
@@ -64,4 +75,4 @@
       verdana-bold-italic             verdanaz.ttf
 
        
-.. _FreeType: http://www.freetype.org/
\ No newline at end of file
+.. _FreeType: http://www.freetype.org/



More information about the mapserver-commits mailing list