[Fontconfig-bugs] [Bug 101270] please do not register WOFF(2) fonts
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Sep 3 18:11:47 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101270
--- Comment #22 from Fabian Greffrath <fabian+debian at greffrath.com> ---
(In reply to Behdad Esfahbod from comment #19)
> Then adding new FreeType API is one way. Though, the first four bytes of
> the file determine it, so maybe we should just do that.
Just a naive idea, but could we probably introduce e.g. a (private?)
char file_header[4]
field into struct FT_Face and fill it with the first four bytes of a font file
upon opening? We could then a add function that returns a pointer to this field
to the FreeType API (or even a function that interprets this field and returns
the font container format in clear text).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20170903/a82da85e/attachment.html>
More information about the Fontconfig-bugs
mailing list