Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

FcFileScan - scan a font file

Description

Scans a single file and adds all fonts found to set. If force is FcTrue, then the file is scanned even if associated information is found in cache. If file is a directory, it is added to dirs. 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. Fontconfig 2.15.0 04 July 2025 FcFileScan(3)

Name

FcFileScan - scan a font file

Synopsis

#include<fontconfig/fontconfig.h>FcBoolFcFileScan(FcFontSet*set,FcStrSet*dirs,FcFileCache*cache,FcBlanks*blanks,constFcChar8*file,FcBoolforce);

See Also