[Libreoffice-bugs] [Bug 94655] Apple Color Emoji not Visible in Exported PDF
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 24 20:29:53 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=94655
--- Comment #21 from Khaled Hosny <khaledhosny at eglug.org> ---
Apple Color Emoji uses “sbix” table to store colored emoji bitmaps (i.e. it is
embedding PNGs inside the font).
Our font subsetting code that we use for embedding fonts inside PDFs is decades
old and does not support this table (which is relatively new) and most likely
just discards it, so the embedded font will either show no emoji glyphs at all
or fallback black and white glyphs (if the font has any).
Even if our subsetter supported this table, there be still an issue in showing
these PDFs in environments that do not support this table (old versions of
macOS, other platforms, etc.), so we might need to even extract the PNGs and
embed them directly on the PDF stream, which is even more complex task.
The subsetter is at vcl/source/fontsubset/, the PDF generation code is in
vcl/source/gdi/pdfwriter*.
I hope this gives some pointers if anyone wants to work in this,
--
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/20171124/1bac6238/attachment.html>
More information about the Libreoffice-bugs
mailing list