FcFontMatch.3 revision a6844aab
1.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.2 $ 2.TH "FcFontMatch" "3" "18 November 2009" "" "" 3.SH NAME 4FcFontMatch \- Return best font 5.SH SYNOPSIS 6.nf 7\fB#include <fontconfig.h> 8.sp 9FcPattern * FcFontMatch(FcConfig *\fIconfig\fB); 10(FcPattern *\fIp\fB); 11(FcResult *\fIresult\fB); 12\fR.fi 13.SH "DESCRIPTION" 14.PP 15Finds the font in \fIsets\fR most closely matching 16\fIpattern\fR and returns the result of 17\fBFcFontRenderPrepare\fR for that font and the provided 18pattern. This function should be called only after 19\fBFcConfigSubstitute\fR and 20\fBFcDefaultSubstitute\fR have been called for 21\fIp\fR; otherwise the results will not be correct. 22If \fIconfig\fR is NULL, the current configuration is used. 23.SH "VERSION" 24.PP 25Fontconfig version 2.8.0 26