I mean I did update FcHashGetSHA256DigestFromFile() to FcHashGetSHA256DigestFromFace() with FT_Face and read the font data with FT_Load_Sfnt_Table in it. since it has FT_Face in an argument, fcint.h was required to include freetype headers.
I guess you expected to do it in fcfreetype.c and give the font data to something like FcHashGetSHA256DigestFromMemory() right?
I mean I did update FcHashGetSHA256 DigestFromFile( ) to FcHashGetSHA256 DigestFromFace( ) with FT_Face and read the font data with FT_Load_Sfnt_Table in it. since it has FT_Face in an argument, fcint.h was required to include freetype headers.
I guess you expected to do it in fcfreetype.c and give the font data to something like FcHashGetSHA256 DigestFromMemor y() right?