[Fontconfig-bugs] [Bug 78450] New: FcConfigAppFontAddFile equivalent that takes memory or FT_Face
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu May 8 11:25:30 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=78450
Priority: medium
Bug ID: 78450
Assignee: fontconfig-bugs at lists.freedesktop.org
Summary: FcConfigAppFontAddFile equivalent that takes memory or
FT_Face
QA Contact: freedesktop at behdad.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: freedesktop at behdad.org
Hardware: Other
Status: NEW
Version: unspecified
Component: library
Product: fontconfig
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20140508/61081d6e/attachment.html>
More information about the Fontconfig-bugs
mailing list