Previous: Rust Crates, Up: Packaging Guidelines [Contents][Index]
For fonts that are in general not installed by a user for typesetting purposes, or that are distributed as part of a larger software package, we rely on the general packaging rules for software; for instance, this applies to the fonts delivered as part of the X.Org system or fonts that are part of TeX Live.
To make it easier for a user to search for fonts, names for other packages containing only fonts are constructed as follows, independently of the upstream package name.
The name of a package containing only one font family starts with
font-
; it is followed by the foundry name and a dash -
if the foundry is known, and the font family name, in which spaces are
replaced by dashes (and as usual, all upper case letters are transformed
to lower case).
For example, the Gentium font family by SIL is packaged under the name
font-sil-gentium
.
For a package containing several font families, the name of the collection
is used in the place of the font family name.
For instance, the Liberation fonts consist of three families,
Liberation Sans, Liberation Serif and Liberation Mono.
These could be packaged separately under the names
font-liberation-sans
and so on; but as they are distributed together
under a common name, we prefer to package them together as
font-liberation
.
In the case where several formats of the same font family or font collection
are packaged separately, a short form of the format, prepended by a dash,
is added to the package name. We use -ttf
for TrueType fonts,
-otf
for OpenType fonts and -type1
for PostScript Type 1
fonts.
Previous: Rust Crates, Up: Packaging Guidelines [Contents][Index]