#include <fontconfig/fontconfig.h>
#include <fontconfig/fcfreetype.h>
#include <stdint.h>
#include <stdbool.h>
int fcPatternEqualSubset(uint8_t *data, size_t length);
uint8_t *fcDefaultSubstitute(uint8_t *data, size_t in_length, size_t *)
uint8_t *fcNameParse(char *name, size_t *length);
char *fcNameUnparse(uint8_t *data, size_t length);
char *fcNameFormat(uint8_t *data, size_t length, char *format);
uint8_t *fcFontSetList(FcConfig *config, uint8_t *sets, size_t sets_length,
uint8_t *pat, size_t pat_length, uint8_t *objects, size_t objs_length, size_t *length);
uint8_t *fcFontSetMatch(FcConfig *config, uint8_t *sets, size_t sets_length,
uint8_t *pat, size_t pat_length, size_t *length);
uint8_t *fcFontSetSort(FcConfig *config, uint8_t *sets, size_t sets_length,
uint8_t *pat, size_t pat_length, bool trim, size_t *length);
unsigned int fcFreeTypeCharIndex(FT_Face *face, uint32_t ucs4);
uint8_t *fcFreeTypeCharSet(FT_Face *face, size_t *length);
uint8_t *fcFreeTypeCharSetAndSpacing(FT_Face *face, size_t *length);
uint8_t *fcFreeTypeQuery(char *file, int id, size_t *length);
uint8_t *fcFreeTypeQueryAll(char *file, size_t *length);
uint8_t *fcFreeTypeQueryFace(FT_Face *face, char *file, int id, size_t *length);
int fcLangSetHasLang(uint8_t *langset, size_t length, const char *lang);
uint8_t *fcGetDefaultLangs(size_t *length);
uint8_t *fcGetLangs(size_t *length);
char *fcLangNormalize(char *lang);
uint8_t *fcConfigGetConfigDirs(FcConfig *conf, size_t *length);
uint8_t *fcConfigGetFontDirs(FcConfig *conf, size_t *length);
uint8_t *fcConfigGetConfigFiles(FcConfig *conf, size_t *length);
uint8_t *fcConfigGetCacheDirs(FcConfig *conf, size_t *length);
uint8_t *fcConfigGetFonts(FcConfig *conf, bool system, size_t *length);
uint8_t *fcConfigSubstituteWithPat(FcConfig *conf, uint8_t *data, size_t in_length, bool isFont, size_t *length);
uint8_t *fcFontMatch(FcConfig *conf, uint8_t *data, size_t in_length, size_t *length);
uint8_t *fcFontSort(FcConfig *conf, uint8_t *data, size_t in_length, bool trim, size_t *length);
uint8_t *fcFontRenderPrepare(FcConfig *conf, uint8_t *data, size_t in_length, size_t *length);
uint8_t *fcFontList(FcConfig *conf, uint8_t *data, size_t in_length, size_t *length);