FONTS-CONFIG(1)
π FONTS-CONFIG(1) β like, the fonts-config manual page, bestie
Yes hello, this is the fonts-config page from section 1 of the manual, and it's literally about configuring your installed X11 fonts. Buckle up. π
β¨ NAME β¨
fonts-config β configures installed X11 fonts. That's the whole gig. π
πΈ SYNOPSIS πΈ
fonts-config [OPTION]...
π OPTIONS π
okay so here are, like, all the flags. no skipping. π«Ά
--force-hintstylestring β by default, "hintstyle" gets picked based on the value of autohint for that particular font. Apart from exceptions (e. g. IPA fonts for example): fonts with good instructions*) get "hintfull" and the other fonts get "hintslight". This here lets you enforce the hintstyle yourself. Possible values are"none","hintnone","hintslight","hintmedium"and"hintfull". Heads up though: this option can be overridden by the--force-bw*options, where"hintfull"is always used.
*) see /usr/share/doc/packages/fonts-config/infinality/good-hinted-tt-fonts.list for reference
--force-autohintβ by default, FreeType's autohinter is used for fonts which have no native hinting instructions, or not good ones. This option lets you enforce using the autohinter even for fonts with good instructions*).hintstyle="hintslight"is used then, when--force-hintstyledoes not override it. π¦
*) see /usr/share/doc/packages/fonts-config/infinality/good-hinted-tt-fonts.list for fonts with good hinting instructions
--force-bwβ FreeType is instructed to use antialias (font smoothing) in rendering by default. You can override those settings with this option, which means fonts will not be smoothed but the contrast with the background will be high, which can suit one's eyes. Liberation Sans family is then automatically preferred over DejaVu Sans. Force using bitmap strikes from the font. Hintstyle is forced to"hintfull"(this even overrides the--force-hintstyleoption).
This can produce bitmap quality rendering for good instructed fonts. π
--force-bw-monospaceβ this option has lower impact than--force-bw. It sets black and white rendering only for good hinted monospaced fonts (e. g. Liberation Mono)."hintfull"hintstyle is used. π§--lcd-filterstring β defines the lcd filter to be used. If not overridden by this option,"lcdnone"is used. Possible values are"lcdnone","lcddefault","lcdlight"and"lcdlegacy".--rgbastring β defines lcd subpixel arrangement and orientation for your monitor. Default value is"none". Possible values are"none","rgb","vrgb","bgr","vbgr","unknown". π--(no)ebitmapsβ use (or don't use) embedded bitmaps from the font.--ebitmapslangstring β limit use of embedded bitmaps to the languages specified in the string, separated by colons.--sans-familiesstring β give it a colon-separated list of preferred sans families and they will be preferred over the system preference list of sans families*). π
*) see /etc/fonts/conf.d/60-family-prefer.conf for details
--mono-familiesstring β give it a colon-separated list of preferred monospace families and they will be preferred over the system preference list of monospace families*).
*) see /etc/fonts/conf.d/60-family-prefer.conf for details
--serif-familiesstring β give it a colon-separated list of preferred serif families and they will be preferred over the system preference list of serif families*).
*) see /etc/fonts/conf.d/60-family-prefer.conf for details
--(no)forcefplβ the value of--*-familiescan be overridden when a document or GUI is requesting some particular font. This is very often intended, ngl.
With --forcefpl, it is possible to override all such requests with fonts listed in family preference lists (FPLs). π
--(no)ttcapβ generate (or don't generate) TTCap entries. TTCap entries can be used with the xtt module and with recent versions of the freetype module.--(no)javaβ generate (or don't generate) font setup for Java. β-u,--userβ run fontconfig setup for the user. It reads~/.config/fontconfig/fonts-config, which is the user analogy of/etc/sysconfig/fonts-config.-U,--remove-user-settingβ remove the user setting created by--user. π-f,--forceβ force the update of all generated files even if it appears to be unnecessary according to the time stamps.-q,--quietβ work silently, unless an error occurs. π€«-v,--verboseβ print some progress messages to standard output.-d,--debugβ print a lot of debugging messages to standard output. like, a LOT. π--versionβ display version and exit.-h,--helpβ display a short help message and exit.-i,--infoβ lists important involved input and output files to thefonts-configscript. π
π¦ DESCRIPTION π¦
Configures installed X11 fonts. Basically it does the following things:
π creates fonts.scale and fonts.dir files
fonts-config currently assumes all fonts are installed in the /usr/share/fonts tree.
For each subdirectory, the time stamps of the directory, the fonts.scale file, the fonts.dir file and an extra time stamp file .fonts-config-timestamp are checked. If not all the time stamps are equal, or any of these files is missing, the fonts.scale and fonts.dir files will be updated as follows:
- First, the
fonts.scalefile is created by callingmkfontscale. - Then, the entries found in the
fonts.scalefile are merged with the entries from allfonts.scale.*files.
fonts.scale.* files may be supplied by rpm-packages or manually added by the user to override or amend the entries created automatically by mkfontscale. Entries in a fonts.scale.* file have higher priority than entries automatically created by mkfontscale. All entries generated automatically by mkfontscale for a certain font file are discarded if any fonts.scale.* file contains an entry for the same font file. π«Ά
After the final list of entries has been written back to fonts.scale, mkfontdir is called.
Finally, the time stamps of the directory, fonts.scale, fonts.dir, and .fonts-config-timestamp are set to the time when fonts-config started. iconic behavior tbh. β
πΈ generate rendering options
Generates /etc/fonts/conf.d/10-rendering-options.conf according to rendering options or its bound sysconfig variables. See --force-hintstyle, --force-autohint, --force-bw, --force-bw-monospace, --lcdfilter, --rgba, --ebitmaps, --ebitmapslang options.
β¨ call fc-cache
Creates cache files for fonts to use with client side font rendering via fontconfig/libXft, for details see fc-cache(1). fonts.cache-2 cache files are generated in /var/cache/fontconfig for all directories which are configured in /etc/fonts/fonts.conf and all their subdirectories.
Usually fonts-config is called automatically when a package containing a font is installed, upgraded or removed. But you can also execute fonts-config directly, which is mainly useful to debug it (use the --debug flag). π₯
π FILES π
/etc/sysconfig/fonts-configβ default values for some command line options offonts-configare read from this file if it exists. The options currently supported in this file are: πFORCE_HINSTYLEβ can be set to"none","hintfull","hintmedium","hintslight"or"hintnone"and is bound to the--force-hintstyleoption.FORCE_AUTOHINTβ can be set to"yes"or"no"and is bound to the--force-autohintoption.FORCE_BWβ can be set to"yes"or"no"and is bound to the--force-bwoption.FORCE_BW_MONOSPACEβ can be set to"yes"or"no"and is bound to the--force-bw-monospaceoption.USE_LCDFILTERβ can be set to"lcdnone","lcddefault","lcdlight"and"lcdlegacy"and is bound to the--lcdfilteroption.USE_RGBAβ can be set to"none","rgb","vrgb","bgr","vrgb"or"unknown"and is bound to the--rgbaoption.USE_EMBEDDED_BITMAPSβ can be set to"yes"or"no"and sets the default for the option--ebitmaps.EMBEDDED_BITMAPS_LANGUAGESβ can be set to a colon separated list of languages, sets the default for the--ebitmapslangPREFER_SANS_FAMILIESβ can be set to a colon separated list of sans families, bound to the--sans-familiesoption.PREFER_SERIF_FAMILIESβ can be set to a colon separated list of serif families, bound to the--serif-familiesoption.PREFER_MONO_FAMILIESβ can be set to a colon separated list of monospace families, bound to the--mono-familiesoption.FORCE_FAMILY_PREFERENCE_LISTSβ can be set to"yes"or"no"and is bound to the--(no)forcefploption.GENERATE_TTCAP_ENTRIESβ can be set to"yes"or"no"and sets the default for the option--(no)ttcap.GENERATE_JAVA_FONT_SETUPβ can be set to"yes"or"no"and sets the default for the option--(no)java.
π SEE ALSO π
fc-cache(1), cidfont-x11-config(1), mkfontdir(1), mkfontscale(1)
π AUTHOR π
Mike FABIAN, 2003, Petr Gajdos <pgajdos@suse.com>, 2014.
okay that's the whole page, you ate that π
this was perl v5.42.0, dated 2023-12-11, and it's the FONTS-CONFIG(1) page β go forth and have beautifully hinted fonts, bestie πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: fonts-config 20231210+git0.f7216ba-160000.2.2 Β· GPL-2.0-or-later AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms