<p dir="ltr">Hi</p>
<p dir="ltr">I was using pangoft2 and fontconfig for font rendering and one of my requirement was to get PangoFontDescription from memory.<br>
I found in the documentation FcFreetypeQuery is used to get FcPateern from the font file and<br>
FcFreetypeQueryFace is to get FcPattern from FT_Face.<br>
But FcFreetypeQueryFace also takes a file name as argument which if not given the FcPattern returned is null.<br>
Initially when I was using Fontconfig 2.8.0 there was no such problem but inbthe 2.10.92 release I found there is a function FcHashGetSHA256DigestFromFile introduced using the argument file which is returning null.<br>
Please help me if there is any other way to get FcPattern using FT_Face only and not the file name.</p>
<p dir="ltr">Pranay</p>