xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Steiner (Jira)" <j...@apache.org>
Subject [jira] [Commented] (FOP-2997) Supporting Emojis in PDFs
Date Tue, 02 Feb 2021 12:44:00 GMT

    [ https://issues.apache.org/jira/browse/FOP-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17277091#comment-17277091
] 

Simon Steiner commented on FOP-2997:
------------------------------------

Short term can you try to add svg="false" to the font

<font kerning="yes" embed-url="OpenMoji-Color.ttf" embedding-mode="subset" svg="false">
 <font-triplet name="OpenMojiColor" style="normal" weight="normal"/>
 </font>

> Supporting Emojis in PDFs
> -------------------------
>
>                 Key: FOP-2997
>                 URL: https://issues.apache.org/jira/browse/FOP-2997
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.6
>            Reporter: Martin Furek
>            Assignee: Simon Steiner
>            Priority: Major
>         Attachments: exampleWithoutFonts.zip
>
>
> Although the issue with supporting SVG fonts (https://issues.apache.org/jira/browse/FOP-2994)
is marked as Resolved, I still can not display Emojis in the PDF with fonts such as OpenEmoji-Color
(or Black), NotoColorEmoji (also NotoColorEmoji_WindowsCompatible.ttf) or the newest font TwitterColorEmoji-SVGinOT
or the fonts produced by its installer.
> I would also like to display Emojis divided by a ZWJ (zero width joiner) like the health
worker Emoji etc., so this probably has something to do with complex scripts.
> Examples:
> [^exampleWithoutFonts.zip][exampleWithFonts.zip|[https://drive.google.com/file/d/1Xtv_l7dVpVCj_Wm_W7VAPNZERYypEsnt/view?usp=sharing]]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message