NAME

FcFontMatch - Return best font

SYNOPSIS



##iinncclluuddee <> <><> FFccPPaatttteerrnn ** FFccFFoonnttMMaattcchh ((FFccCCoonnffiigg **_c_o_n_f_i_g,, FFccPPaatttteerrnn **_p,, FFccRReessuulltt **_r_e_s_u_l_t));;

DESCRIPTION

Finds the font in _s_e_t_s most closely matching _p_a_t_t_e_r_n and returns the result of FFccFFoonnttRReennddeerrPPrreeppaarree for that font and the provided pattern. This function should be called only after FFccCCoonnffiiggSSuubbssttiittuuttee and FFccDDeeffaauullttSSuubbssttiittuuttee have been called for _p; otherwise the results will not be correct.

VERSION

Fontconfig version 2.6.0