Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Autres versions - même langue

Version: 329481 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)


g.mkfontcap - Generates the font configuration file by scanning various directories for fonts




g.mkfontcap help
g.mkfontcap [-os] [extradirs=string] [--verbose] [--quiet]



Overwrite font configuration file if already existing

Write font configuration file to standard output instead of $GISBASE/etc

Verbose module output

Quiet module output



Comma-separated list of extra directories to scan for Freetype-compatible fonts as well as the defaults (see documentation)


g.mkfontcap is a utilty to generate a GRASS font configuration file ("fontcap") containing details of the fonts available on the current system. If Freetype is not installed, the font list will be limited to the set of Hershey stroke fonts supplied with GRASS. With Freetype enabled however, the module will recursively scan all files within a predefined hierarchy to find Freetype-compatible scalable fonts. The list of directories scanned is currently:







These correspond to directories where fonts can be found on some common operating systems. Extra directories to search can easily by added using the extradirs parameter, which accepts a comma-separated list. An extra directory may optionally contain an environment variable at the start of the string, if enclosed in ${xxx} syntax (see examples above).

The module will normally write to the standard fontcap file location, $GISBASE/etc/fontcap. If the environment variable GRASS_FONT_CAP is set, the output will instead be written to the file specified by that variable. This is useful if you don't have permission to modify $GISBASE/etc/fontcap: in this case you can use e.g.
# use local file version instead of system copy

to create a personal copy and then to make GRASS use that file instead of the system copy.

The output list of fonts is sorted first by type (Stroke fonts first, followed by Freetype) and within each type by the short name of the font.




Paul Kelly

Last changed: $Date: 2008-03-05 10:48:30 +0100 (mer, 05 mar 2008) $

Full index

© 2003-2010 GRASS Development Team

Une « action concrète décidée sur debian-devel », ça existe ça ?
-+- TL sur debian-french : "Mettre en oeuvre la mise en oeuvre" -+-