NAME

FcFileScan - scan a font file

SYNOPSIS



##iinncclluuddee <> <><> FFccBBooooll FFccFFiilleeSSccaann ((FFccFFoonnttSSeett **_s_e_t,, FFccSSttrrSSeett **_d_i_r_s,, FFccFFiilleeCCaacchhee **_c_a_c_h_e,, FFccBBllaannkkss **_b_l_a_n_k_s,, ccoonnsstt FFccCChhaarr88 **_f_i_l_e,, FFccBBooooll _f_o_r_c_e));;

DESCRIPTION

Scans a single file and adds all fonts found to _s_e_t. If _f_o_r_c_e is FcTrue, then the file is scanned even if associated information is found in _c_a_c_h_e. If _f_i_l_e is a directory, it is added to _d_i_r_s. Whether fonts are found depends on fontconfig policy as well as the current configuration. Internally, fontconfig will ignore BDF and PCF fonts which are not in Unicode (or the effectively equivalent ISO Latin-1) encoding as those are not usable by Unicode-based applications. The configuration can ignore fonts based on filename or contents of the font file itself. Returns FcFalse if any of the fonts cannot be added (due to allocation failure). Otherwise returns FcTrue.

VERSION

Fontconfig version 2.6.0