FcConfigAppFontAddFile equivalent that takes memory or FT_Face
Submitted by Behdad Esfahbod
Assigned to fon..@..op.org
One common request is to use Pango with a custom font. The way I recommend doing that is by creating a custom FcConfig and adding custom fonts to it and using pango against that config.
However, currently only fonts on disk can be added to a config. Lets fix that to either get a memory buffer, or a FT_Face, similar to FcFreeTypeQueryFace. We probably need to add a FcFileScan() variant too.
Perhaps better to add Memory() version to avoid FreeType dependency in non fcfreetype.h API.