FcDefaultSubstitute(3)

FcDefaultSubstitute3

Perform default substitutions in a pattern

Usage

#include <fontconfig/fontconfig.h>

void FcDefaultSubstitute (FcPattern *pattern);

Overview

Supplies default values for underspecified font patterns:

•

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).

This function has been replaced by FcConfigSetDefaultSubstitute and will be deprecated.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8–9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

From fontconfig 2:2.18.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.