EnglishFrenchSpanish

OnWorks favicon

g.mkfontcapgrass - Online in the Cloud

Run g.mkfontcapgrass in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command g.mkfontcapgrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


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

KEYWORDS


general

SYNOPSIS


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

Flags:
-o
Overwrite font configuration file if already existing

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

--help
Print usage summary

--verbose
Verbose module output

--quiet
Quiet module output

--ui
Force launching GUI dialog

Parameters:
extradirs=string
List of extra directories to scan
Comma-separated list of extra directories to scan for Freetype-compatible fonts as
well as the defaults (see documentation)

DESCRIPTION


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:
/usr/lib/X11/fonts
/usr/share/X11/fonts
/usr/share/fonts
/usr/local/share/fonts
${HOME}/Library/Fonts
/Library/Fonts
/System/Library/Fonts
${WINDIR}/Fonts

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
GRASS_FONT_CAP=$HOME/.gfontcap
export GRASS_FONT_CAP
g.mkfontcap

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.

Use g.mkfontcapgrass online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands

Ad