DH_INSTALLXFONTS(1)
π NAME π
dh_installxfonts β bestie, this one registers X fonts for u β¨
πΈ SYNOPSIS πΈ
dh_installxfonts [debhelper options]
π DESCRIPTION π
okay so dh_installxfonts is a debhelper program, and its whole job β its entire main character moment β is registering X fonts, so that their corresponding fonts.dir, fonts.alias, and fonts.scale get rebuilt properly at install time. iconic behavior honestly π
Before u call this program, here's the vibe check: u should have already installed any X fonts that ur package provides into the appropriate location in the package build directory. and if u have fonts.alias or fonts.scale files, u should install those into the correct location under etc/X11/fonts in ur package build directory. don't skip this part bestie, it's giving prerequisites π
Ur package should depend on xfonts-utils so that the update-fonts-* commands are actually available. (and good news β this program adds that dependency to ${misc:Depends} for u, so u don't gotta do it manually π«Ά)
This program also automatically generates the postinst and postrm commands needed to register X fonts. those commands get inserted into the maintainer scripts by dh_installdeb. see dh_installdeb(1) for an explanation of how this works β it's a whole system and it slays, fr fr β¨
π NOTES π
See update-fonts-alias(8), update-fonts-scale(8), and update-fonts-dir(8) for more information about X font installation. yes, all three, go read them, i'll wait π¦
Also see Debian policy, section 11.8.5. for details about doing fonts the Debian way. (the Debian way is the correct way, no cap π)
π₯ SEE ALSO π₯
This program is a part of debhelper. literally one of the gang π
π AUTHOR π
Joey Hess <joeyh@debian.org>
and that's the whole page bestie!! this one's from debhelper 14.5ubuntu1, dated 2026-09-21 β go register those fonts, u got this πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: debhelper 14.5ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms