NAME

FcFontSetMatch - Return the best font from a set of font sets

SYNOPSIS



##iinncclluuddee <> <><> FFccPPaatttteerrnn ** FFccFFoonnttSSeettMMaattcchh ((FFccCCoonnffiigg **_c_o_n_f_i_g,, FFccFFoonnttSSeett ****_s_e_t_s,, iinntt_n_s_e_t_s,, FFccPPaatttteerrnn **_p_a_t_t_e_r_n,, 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_a_t_t_e_r_n; otherwise the results will not be correct. Returns NULL if an error occurs during this process.

VERSION

Fontconfig version 2.6.0