FcFreeTypeCharSetAndSpacing(3)

πŸ’– NAME πŸ’–

FcFreeTypeCharSetAndSpacing β€” compute Unicode coverage and spacing type. This is the FcFreeTypeCharSetAndSpacing(3) manual page, bestie, and it’s lowkey iconic.


✨ SYNOPSIS ✨

#include <fontconfig.h>
#include <fcfreetype.h>

FcCharSet * FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this function scans a FreeType face and returns the set of encoded Unicode chars. Obsessed with the coverage, honestly πŸ’….

FcBlanks is deprecated β€” like, for real, it’s giving β€œold code energy” β€” and blanks is ignored and accepted only for compatibility with older code.

spacing receives the computed spacing type of the font, and it’s one of:

  • FC_MONO β€” for a font where all glyphs have the same width
  • FC_DUAL β€” where the font has glyphs in precisely two widths, one twice as wide as the other
  • FC_PROPORTIONAL β€” where the font has glyphs of many widths
No cap, that spacing situation is the whole vibe check here 🫢.

Mwah πŸ’‹ β€” this little love letter is from Fontconfig 2.17.0, dated 27 June 2025 πŸŽ€.

πŸ“¦ where this page comes from