FONT.ECLASS
Section: eclass-manpages (5)Updated: Oct 2025
Index Return to Main Contents
NAME
font.eclass - Eclass to make font installation uniformSUPPORTED EAPIS
7 8FUNCTIONS
- 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
 - 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_install
 - The font src_install function.
 - _update_fontcache
 - Updates fontcache if !prefix and media-libs/fontconfig installed
 - font_pkg_postinst
 - The font pkg_postinst function.
 - font_pkg_postrm
 - The font pkg_postrm function.
 
ECLASS 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.
 
MAINTAINERS
[email protected]REPORTING BUGS
Please report bugs via https://bugs.gentoo.org/FILES
font.eclassSEE ALSO
ebuild(5)https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/font.eclass
Index
This document was created by man2html, using the manual pages.
Time: 03:27:01 GMT, October 25, 2025