font.eclass
Functions
- font_bdf_to_otb <output.otb> [input1.bdf...]
-
Converts and merges one or more BDF font files into a single OpenType Bitmap (OTB) font using x11-apps/fonttosfnt. If no input files are specified, uncompressed BDF is read from stdin.
- font_wrap_opentype_compat
-
Converts .bdf and .pcf fonts detected within ${ED} to the OTB wrapper format using x11-apps/fonttosfnt. Handles optional .gz extension.
- font_xfont_config [directory]
-
Generate Xorg font files (mkfontscale/mkfontdir).
- font_fontconfig
-
Install fontconfig conf files given in FONT_CONF.
- font_cleanup_dirs
-
Remove font directories containing only generated files.
- font_pkg_setup
-
The font pkg_setup function. Collision protection
- font_src_compile
-
The font src_compile function. Converts BDF fonts to OTB when FONT_OPENTYPE_COMPAT is enabled.
- font_src_install
-
The font src_install function.
- font_pkg_postinst
-
The font pkg_postinst function.
- font_pkg_postrm
-
The font pkg_postrm function.
Variables
- FONT_SUFFIX = ${FONT_SUFFIX:-} (required)
-
Space delimited list of font suffixes to install.
- FONT_S
-
Directory containing the fonts. If unset, ${S} is used instead. Can also be an array of several directories.
- FONT_PN = ${FONT_PN:-${PN}}
-
Font name (ie. last part of FONTDIR).
- FONTDIR = ${FONTDIR:-/usr/share/fonts/${FONT_PN}}
-
Full path to installation directory.
- FONT_CONF = ( "" )
-
Array containing fontconfig conf files to install.
- FONT_OPENTYPE_COMPAT
-
Determines whether detected BDF and PCF font files should be converted to an SFNT wrapper, for use with newer Pango.
- FONT_DEPEND = " (generated by eclass)
-
Contains dependencies on mkfontscale and encodings in *DEPEND format needed for font_xfont_config.
- FONT_AUTO_DEPEND ?= yes (set before inherit)
-
Set to 'no' to disable automatically adding USE=X and FONT_DEPEND to BDEPEND. This allows ebuilds to handle dependencies or X font generation conditionally under their own USE flag or unconditionally.
Reporting Bugs
Please report bugs via https://bugs.gentoo.org/