FcIsLower (3) Linux Manual Page
FcIsLower – check for lower case ASCII character Synopsis #include <fontconfig/fontconfig.h> FcBool FcIsLower (FcChar8c); Description This macro checks whether c is an lower case ASCII letter.
The Linux Manuals (man pages) document is an important part of Linux documents. Linux Manuals are organized as several sections. Each section has a group of commands for a specific area in Linux usage, administration or development.
FcIsLower – check for lower case ASCII character Synopsis #include <fontconfig/fontconfig.h> FcBool FcIsLower (FcChar8c); Description This macro checks whether c is an lower case ASCII letter.
FcInitReinitialize – re-initialize library Synopsis #include <fontconfig/fontconfig.h> FcBool FcInitReinitialize (void); Description Forces the default configuration file to be reloaded and resets the default configuration. Returns FcFalse if the configuration cannot be reloaded (due to configuration file errors, allocation failures or other issues) and leaves the existing configuration unchanged. Otherwise returns FcTrue.
FcInitLoadConfigAndFonts – load configuration and font data Synopsis #include <fontconfig/fontconfig.h> FcConfig * FcInitLoadConfigAndFonts (void); Description Loads the default configuration file and builds information about the available fonts. Returns the resulting configuration.
FcInitLoadConfig – load configuration Synopsis #include <fontconfig/fontconfig.h> FcConfig * FcInitLoadConfig (void); Description Loads the default configuration file and returns the resulting configuration. Does not load any font information.
FcInitBringUptoDate – reload configuration files if needed Synopsis #include <fontconfig/fontconfig.h> FcBool FcInitBringUptoDate (void); Description Checks the rescan interval in the default configuration, checking the configuration if the interval has passed and reloading the configuration if when any changes are detected. Returns FcFalse if the configuration cannot be reloaded (see FcInitReinitialize). Otherwise returns FcTrue.
FcInit – initialize fontconfig library Synopsis #include <fontconfig/fontconfig.h> FcBool FcInit (void); Description Loads the default configuration file and the fonts referenced therein and sets the default configuration to that result. Returns whether this process succeeded or not. If the default configuration has already been loaded, this routine does nothing and returns FcTrue.
FcGetVersion – library version number Synopsis #include <fontconfig/fontconfig.h> int FcGetVersion (void); Description Returns the version number of the library.
FcGetLangs – Get list of languages Synopsis #include <fontconfig/fontconfig.h> FcStrSet * FcGetLangs (void); Description Returns a string set of all known languages.
FcGetDefaultLangs – Get the default languages list Synopsis #include <fontconfig/fontconfig.h> FcStrSet * FcGetDefaultLangs (void); Description Returns a string set of the default languages according to the environment variables on the system. This function looks for them in order of FC_LANG, LC_ALL, LC_CTYPE and LANG then. If there are no valid values in those environment variables,…
FcFreeTypeQueryFace – compute pattern from FT_Face Synopsis #include <fontconfig.h> #include <fcfreetype.h> FcPattern * FcFreeTypeQueryFace (const FT_Face face, const FcChar8 *file, int id, FcBlanks *blanks); Description Constructs a pattern representing ‘face’. ‘file’ and ‘id’ are used solely as data for pattern elements (FC_FILE, FC_INDEX and sometimes FC_FAMILY). FcBlanks is deprecated, blanks is ignored and accepted only…
FcFreeTypeQueryAll – compute all patterns from font file (and index) Synopsis #include <fontconfig.h> #include <fcfreetype.h> unsigned int FcFreeTypeQueryAll (const FcChar8 *file, int id, FcBlanks *blanks, int *count, FcFontSet *set); Description Constructs patterns found in ‘file’. If id is -1, then all patterns found in ‘file’ are added to ‘set’. Otherwise, this function works exactly like…
FcFreeTypeQuery – compute pattern from font file (and index) Synopsis #include <fontconfig.h> #include <fcfreetype.h> FcPattern * FcFreeTypeQuery (const FcChar8 *file, int id, FcBlanks *blanks, int *count); Description Constructs a pattern representing the ‘id’th face in ‘file’. The number of faces in ‘file’ is returned in ‘count’. FcBlanks is deprecated, blanks is ignored and accepted only…
FcFreeTypeCharSetAndSpacing – compute Unicode coverage and spacing type Synopsis #include <fontconfig.h> #include <fcfreetype.h> FcCharSet * FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing); Description Scans a FreeType face and returns the set of encoded Unicode chars. FcBlanks is deprecated, blanks is ignored and accepted only for compatibility with older code. spacing receives the computed spacing type…
FcFreeTypeCharSet – compute Unicode coverage Synopsis #include <fontconfig.h> #include <fcfreetype.h> FcCharSet * FcFreeTypeCharSet (FT_Face face, FcBlanks *blanks); Description Scans a FreeType face and returns the set of encoded Unicode chars. FcBlanks is deprecated, blanks is ignored and accepted only for compatibility with older code.
FcFreeTypeCharIndex – map Unicode to glyph id Synopsis #include <fontconfig.h> #include <fcfreetype.h> FT_UInt FcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4); Description Maps a Unicode char to a glyph index. This function uses information from several possible underlying encoding tables to work around broken fonts. As a result, this function isn’t designed to be used in performance sensitive…
FcFontSort – Return list of matching fonts Synopsis #include <fontconfig/fontconfig.h> FcFontSet * FcFontSort (FcConfig *config, FcPattern *p, FcBool trim, FcCharSet **csp, FcResult *result); Description Returns the list of fonts sorted by closeness to p. If trim is FcTrue, elements in the list which don’t include Unicode coverage not provided by earlier elements in the list…
FcFontSetSortDestroy – DEPRECATED destroy a font set Synopsis #include <fontconfig/fontconfig.h> FcFontSetSortDestroy (FcFontSet *set); Description This function is DEPRECATED. FcFontSetSortDestroy destroys set by calling FcFontSetDestroy. Applications should use FcFontSetDestroy directly instead.
FcFontSetSort – Add to a font set Synopsis #include <fontconfig/fontconfig.h> FcFontSetSort (FcConfig *config, FcFontSet **sets, intnsets, FcPattern *pattern, FcBool trim, FcCharSet **csp, FcResult *result); Description Returns the list of fonts from sets sorted by closeness to pattern. If trim is FcTrue, elements in the list which don’t include Unicode coverage not provided by earlier elements…
FcFontSetPrint – Print a set of patterns to stdout Synopsis #include <fontconfig/fontconfig.h> void FcFontSetPrint (FcFontSet *set); Description This function is useful for diagnosing font related issues, printing the complete contents of every pattern in set. The format of the output is designed to be of help to users and developers, and may change at any…
FcFontSetMatch – Return the best font from a set of font sets Synopsis #include <fontconfig/fontconfig.h> FcPattern * FcFontSetMatch (FcConfig *config, FcFontSet **sets, intnsets, FcPattern *pattern, FcResult *result); Description Finds the font in sets most closely matching pattern and returns the result of FcFontRenderPrepare for that font and the provided pattern. This function should be called…