.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "FcDefaultSubstitute" "3" "23 August 2026" "Fontconfig 2.18.3" "" .SH NAME FcDefaultSubstitute \- Perform default substitutions in a pattern .SH SYNOPSIS .sp \fB#include .sp void FcDefaultSubstitute (FcPattern *\fIpattern\fB); \fR .SH "DESCRIPTION" .PP Supplies default values for underspecified font patterns: .TP 0.2i \(bu Patterns without a specified style or weight are set to Medium .TP 0.2i \(bu Patterns without a specified style or slant are set to Roman .TP 0.2i \(bu Patterns without a specified pixel size are given one computed from any specified point size (default 12), dpi (default 75) and scale (default 1). .PP This function has been replaced by \fBFcConfigSetDefaultSubstitute\fR and will be deprecated.