[Libreoffice-bugs] [Bug 104403] Support multi-colored fonts using COLR/CPAL tables
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 6 20:05:50 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=104403
--- Comment #11 from Khaled Hosny (inactive) <khaledhosny at eglug.org> ---
(In reply to Aleksandr Andreev from comment #10)
> What's the status with this? How difficult would it be to support this now
> that it is supported by HarfBuzz?
For screen rendering they should already supported on Linux if you have
FreeType 2.10.x and Cairo 1.16.x, and should be supported on recent enough
macOS systems (disdn’t test that, though). On Windows it would require calling
the relevant DirectWrite APIs
(https://docs.microsoft.com/en-us/windows/desktop/directwrite/color-fonts#using-color-fonts-with-directwrite-and-direct2d)
For PDF, we would need to call HarfBuzz to decompose the color glyph layers
before writing them to the PDF, should be a couple of days work or so if
someone is interested.
--
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/libreoffice-bugs/attachments/20190406/a776dfc2/attachment.html>
More information about the Libreoffice-bugs
mailing list