www.LinuxHowtos.org





FcDefaultSubstitute

Section: (3)
Updated: 02 July 2025
Index Return to Main Contents
 

NAME

FcDefaultSubstitute - Perform default substitutions in a pattern  

SYNOPSIS

#include <fontconfig/fontconfig.h>

void FcDefaultSubstitute (FcPattern *pattern);
 

DESCRIPTION

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.


 

Index

NAME
SYNOPSIS
DESCRIPTION