(In reply to comment #7)
> 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?
(In reply to comment #7) DigestFromFile( ) to DigestFromFace( ) with FT_Face and read the font data with DigestFromMemor y() right?
> I mean I did update FcHashGetSHA256
> FcHashGetSHA256
> 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
Right. That sounds better.