FONTS-CONF(5) FONTS-CONF(5) (NAME) fonts.conf - (SYNOPSIS) /etc/fonts/fonts.conf /etc/fonts/fonts.dtd /etc/fonts/conf.d $XDG_CONFIG_HOME/fontconfig/conf.d $XDG_CONFIG_HOME/fontconfig/fonts.conf ~/.fonts.conf.d ~/.fonts.conf (DESCRIPTION) Fontconfig . (FUNCTIONAL OVERVIEW) Fontconfig : XML . (FONT CONFIGURATION) FcConfig libexpat FcConfigParse XML . XML FcConfigParse . . . . XML . . . . . (FONT PROPERTIES) . Fontconfig . . -------------------------------------------------------------- family String familylang String style String (weight) (slant) stylelang String fullname String ( ) fullnamelang String slant Int (italic) (oblique) (roman) weight Int (light) (medium) (demibold) (bold) (black) width Int (condensed) (normal) (expanded) size Double (point size) aspect Double pixelsize Double spacing Int (proportional) (dual-width) (monospace) (charcell) foundry String (foundry) antialias Bool (antialiased) hintstyle Int hinting Bool verticallayout Bool autohint Bool globaladvance Bool ( ) file String index Int ftface FT_Face FreeType face rasterizer String ( ) outline Bool (outline) scalable Bool dpi Double (DPI) rgba Int (unknown) rgb bgr vrgb vbgr none - scale Double ( ) minspace Bool charset CharSet lang String RFC-3066 fontversion Int capability String fontformat String embolden Bool embeddedbitmap Bool decorative Bool lcdfilter Int LCD namelang String familylang stylelang fullnamelang fontfeatures String OpenType prgname String postscriptname String PostScript color Bool symbol Bool fontvariations String variable Bool (Variable Font) fonthashint Bool order Int desktop String namedinstance Bool (named instance) fontwrapper String WOFF WOFF2 SFNT SFNT CFF CFF . genericfamily Int (Generic Family) (FONT MATCHING) Fontconfig . . . . . "" . . . . . . : foundry charset family lang spacing pixelsize style slant weight antialias rasterizer outline. -- . (strong) (weak) . lang lang . . . . . . FreeType . / -- . . . (FONT NAMES) Fontconfig . : : -:=:=... . . . : ---------------------------------------------------------- Times-12 Times Roman Times-12:bold Times Bold Courier:italic Courier Italic Monospace:matrix=1 .1 0 1 '\' '-' ':' ',' '\' . '\' '=' '_' ':' ',' '\' . '\' . (DEBUGGING APPLICATIONS) fontconfig . FC_DEBUG . . --------------------------------------------------------- MATCH 1 MATCHV 2 EDIT 4 // (match/test/edit) FONTSET 8 CACHE 16 CACHEV 32 PARSE 64 ( ) SCAN 128 SCANV 256 MEMORY 512 fontconfig CONFIG 1024 LANGSET 2048 lang MATCH2 4096 ( ) FC_DEBUG . (stdout) . (LANG TAGS) . . RFC-3066 -- ISO 639 ISO 3166. . Fontconfig . . ISO 639-1 ISO 639-2 . . fontconfig . . (CONFIGURATION FILE FORMAT) fontconfig XML . XML . (DTD) fontconfig "fonts.dtd" (/etc/fonts) . : ... . " . 'prefix' "default" "cwd" . 'prefix' "xdg" XDG_DATA_HOME XDG Base Directory . 'prefix' "relative" . 'salt' . . " . . '~' . 'prefix' "xdg" XDG_CACHE_HOME . ``$XDG_CACHE_HOME/fontconfig'' ``-.cache-'' fontconfig ( ). " . (U+0030 - U+0039) ``.conf'' . XML FcConfigParse () () FcConfigLoadAndParse . 'ignore_missing' "no" "yes" . 'prefix' "xdg" XDG_CONFIG_HOME . . . " . gettext . 'domain' . fontconfig 'domain' gettext . "" . . . " 'as-path' . ( bind mount ) . 'salt' . . . . Fontconfig . / . acceptfont rejectfont . . "scan" . acceptfont "" "" rejectfont . acceptfont glob pattern . rejectfont "" . rejectfont glob pattern . glob ( ? *) . '~' . (/usr/share/fonts/uglyfont*) (*.pcf.gz) . glob . pattern . . (scalable bold ) . pattern patelt . " patelt . 'name' . patelt int double string matrix bool charset const . " ( ) ( ) . . 'target' "pattern" "font" . 'target' "scan" fontconfig . " "property" ('pattern' 'font' 'scan' 'default') . 'compare' "eq" "not_eq" "less" "less_eq" "more" "more_eq" "contains" "not_contains" . 'qual' "any" ( ) "all" ( ). 'ignore-blanks' "true" . compare="eq" compare="not_eq" . target= . "default" . " ( ) . "property" . "property" . ("strong" "weak" "same") "same" . 'mode' : Mode With Match Without Match --------------------------------------------------------------------- "assign" "assign_replace" "prepend" "prepend_first" "append" "append_last" "delete" "delete_all" , , , . true false . -- fontconfig ( 0.5 .5 -0.5 -.5 ). xsi:nil . (affine transformation) . . . . xsi:nil . RFC-3066 . xsi:nil . . . 'target' 'default' target="font" target="pattern" . 'font' 'pattern' . 'font' target="pattern" . . xsi:nil : Constant Property Value ------------------------------------- thin weight 0 extralight weight 40 ultralight weight 40 light weight 50 demilight weight 55 semilight weight 55 book weight 75 regular weight 80 normal weight 80 medium weight 100 demibold weight 180 semibold weight 180 bold weight 200 extrabold weight 205 ultrabold weight 205 black weight 210 heavy weight 210 extrablack weight 215 ultrablack weight 215 roman slant 0 italic slant 100 oblique slant 110 ultracondensed width 50 extracondensed width 63 condensed width 75 semicondensed width 87 normal width 100 semiexpanded width 113 expanded width 125 extraexpanded width 150 ultraexpanded width 200 proportional spacing 0 dual spacing 90 mono spacing 100 charcell spacing 110 unknown rgba 0 rgb rgba 1 bgr rgba 2 vrgb rgba 3 vbgr rgba 4 none rgba 5 lcdnone lcdfilter 0 lcddefault lcdfilter 1 lcdlight lcdfilter 2 lcdlegacy lcdfilter 3 hintnone hintstyle 0 hintslight hintstyle 1 hintmedium hintstyle 2 hintfull hintstyle 3 serif genericfamily 1 sans-serif genericfamily 2 monospace genericfamily 3 cursive genericfamily 4 fantasy genericfamily 5 system-ui genericfamily 6 ui-serif genericfamily 7 ui-sans-serif genericfamily 8 ui-monospace genericfamily 9 ui-rounded genericfamily 10 emoji genericfamily 11 math genericfamily 12 fangsong genericfamily 13 , , , , , . () . , , , , , , , . . true . alias . . . . , , . (EXAMPLES) (SYSTEM CONFIGURATION FILE) : /usr/share/fonts /usr/X11R6/lib/X11/fonts mono monospace sans-serif serif monospace sans-serif fontconfig/fonts.conf conf.d local.conf Times Times New Roman serif Helvetica Arial sans-serif Courier Courier New monospace serif Times New Roman sans-serif Arial monospace Andale Mono Courier New monospace Courier monospace (USER CONFIGURATION FILE) $XDG_CONFIG_HOME/fontconfig/fonts.conf : fonts rgb zh serif WenQuanYi Zen Hei ja sans-serif VL Gothic (FILES) fonts.conf fontconfig . XML . conf.d . . XML . fonts.conf . fonts.dtd DTD . $XDG_CONFIG_HOME/fontconfig/conf.d ~/.fonts.conf.d ( ) fonts.conf . ~/.fonts.conf.d . $XDG_CONFIG_HOME/fontconfig/fonts.conf ~/.fonts.conf fonts.conf . ~/.fonts.conf . $XDG_CACHE_HOME/fontconfig/*.cache-* ~/.fontconfig/*.cache-* . fontconfig . ~/.fontconfig/*.cache-* . (ENVIRONMENT) FONTCONFIG_FILE . FONTCONFIG_PATH . FONTCONFIG_SYSROOT (sysroot) . FC_DEBUG . << >> . FC_DBG_MATCH_FILTER . FC_DEBUG MATCH2 . << >> . FC_LANG . (locale) . FONTCONFIG_USE_MMAP mmap(2) . . Fontconfig mmap(2) . mmap(2) . SOURCE_DATE_EPOCH fc-cache(1) (reproducible builds) . (UNIX timestamp) fontconfig . SOURCE_DATE_EPOCH ( mtime ) . FONTCONFIG_WARN_INVALID_ATTRS . (SEE ALSO) fc-cat(1), fc-cache(1), fc-list(1), fc-match(1), fc-query(1), SOURCE_DATE_EPOCH . (VERSION) Fontconfig 2.18.3 23 August 2026 FONTS-CONF(5)