FcConfigSetDefaultSubstitute(3)

πŸ“¦
version 2.17.1 Β· 4 versions
, in alpine 3.23, alpine 3.24

🌸 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 (default 75) and scale (default 1).
bestie note: those numbers are the defaults β€” literally 12, 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