FcConfigSetDefaultSubstitute(3)
πΈ FcConfigSetDefaultSubstitute(3) β the glow-up page πΈ
okay so bestie, welcome to FcConfigSetDefaultSubstitute(3) π
this is a fontconfig function, and honestly? she's giving backstage stylist energy β she takes a pattern that showed up underdressed and hands it some default looks π
β¨ NAME β¨
FcConfigSetDefaultSubstitute β perform default substitutions in a pattern π¦
like, she fills in the blanks. the vibes blanks. no cap β¨
π SYNOPSIS π
#include <fontconfig/fontconfig.h>
void FcConfigSetDefaultSubstitute (FcConfig *config, FcPattern *pattern);
two arguments, both pointers, returns nothing β she just does her thing and leaves π periodt.
π DESCRIPTION π
so basically she supplies default values for underspecified font patterns π«Ά that's the whole assignment, and she ate. if your pattern is out here missing details, she quietly gives it the standard ones:
- π Patterns without a specified style or weight are set to Medium
- π Patterns without a specified style or slant are set to Roman
- π Patterns without a specified pixel size are given one computed from any specified point size (default
12), dpi (default75) and scale (default1).
bestie note: those numbers are the defaults β literally12,75,1. memorize them or don't, but they're doing the heavy lifting when you don't specify anything yourself π
β SINCE β
version 2.17.0 π± (yes she's a newer icon, we stan a modern queen π)
and that's the whole page, bestie β short, sweet, and fully slaying πΈ this was Fontconfig 2.17.1, dated 02 July 2025, and FcConfigSetDefaultSubstitute(3) is out here doing default-substitution main character energy π§π byeee π«Ά
π¦ where this page comes from
- alpine 3.23: fontconfig-doc 2.17.1-r0 Β· MIT
- alpine 3.24: fontconfig-doc 2.17.1-r1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms