Discussion:
[jira] [Created] (FOP-2734) issue in Printing emoji symbols in pdf by using fo.ftl
(too old to reply)
Nagendra (JIRA)
2017-08-22 12:30:00 UTC
Permalink
Nagendra created FOP-2734:
-----------------------------

Summary: issue in Printing emoji symbols in pdf by using fo.ftl
Key: FOP-2734
URL: https://issues.apache.org/jira/browse/FOP-2734
Project: FOP
Issue Type: Bug
Components: fo/block
Affects Versions: 2.2
Environment: Ubuntu, Windows
Reporter: Nagendra
Attachments: MessageCard-22-08-2017-17-54-18.pdf

Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Nagendra (JIRA)
2017-08-22 12:34:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nagendra updated FOP-2734:
--------------------------
Environment: Ubuntu, Windows , Java, FTL (was: Ubuntu, Windows )
Post by Nagendra (JIRA)
issue in Printing emoji symbols in pdf by using fo.ftl
------------------------------------------------------
Key: FOP-2734
URL: https://issues.apache.org/jira/browse/FOP-2734
Project: FOP
Issue Type: Bug
Components: fo/block
Affects Versions: 2.2
Environment: Ubuntu, Windows , Java, FTL
Reporter: Nagendra
Labels: documentation, emoji, fonts
Attachments: MessageCard-22-08-2017-17-54-18.pdf
Original Estimate: 48h
Remaining Estimate: 48h
Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Nagendra (JIRA)
2017-08-22 12:37:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nagendra updated FOP-2734:
--------------------------
Docs Text:
Issue in printing pdf, By using apache freemarker FOP FTL, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue. Any Quick Fix or response is appreciate. Thank you.
By using the following font we can able to print some of the emoji's but most of them are fail to load the glyph. "DejaVu Sans"

was:
Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue. Any Quick Fix or response is appreciate. Thank you.
Post by Nagendra (JIRA)
issue in Printing emoji symbols in pdf by using fo.ftl
------------------------------------------------------
Key: FOP-2734
URL: https://issues.apache.org/jira/browse/FOP-2734
Project: FOP
Issue Type: Bug
Components: fo/block
Affects Versions: 2.2
Environment: Ubuntu, Windows , Java, FTL
Reporter: Nagendra
Labels: documentation, emoji, fonts
Attachments: MessageCard-22-08-2017-17-54-18.pdf
Original Estimate: 48h
Remaining Estimate: 48h
Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Nagendra (JIRA)
2017-08-22 13:13:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nagendra updated FOP-2734:
--------------------------
Labels: FOP documentation emoji fonts (was: documentation emoji fonts)
Post by Nagendra (JIRA)
issue in Printing emoji symbols in pdf by using fo.ftl
------------------------------------------------------
Key: FOP-2734
URL: https://issues.apache.org/jira/browse/FOP-2734
Project: FOP
Issue Type: Bug
Components: fo/block
Affects Versions: 2.2
Environment: Ubuntu, Windows , Java, FTL
Reporter: Nagendra
Labels: EmojiOne, FOP, Java7, documentation, emoji, fonts
Attachments: MessageCard-22-08-2017-17-54-18.pdf
Original Estimate: 48h
Remaining Estimate: 48h
Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Nagendra (JIRA)
2017-08-22 13:13:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nagendra updated FOP-2734:
--------------------------
Labels: EmojiOne FOP Java7 documentation emoji fonts (was: FOP documentation emoji fonts)
Post by Nagendra (JIRA)
issue in Printing emoji symbols in pdf by using fo.ftl
------------------------------------------------------
Key: FOP-2734
URL: https://issues.apache.org/jira/browse/FOP-2734
Project: FOP
Issue Type: Bug
Components: fo/block
Affects Versions: 2.2
Environment: Ubuntu, Windows , Java, FTL
Reporter: Nagendra
Labels: EmojiOne, FOP, Java7, documentation, emoji, fonts
Attachments: MessageCard-22-08-2017-17-54-18.pdf
Original Estimate: 48h
Remaining Estimate: 48h
Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
simon steiner (JIRA)
2017-08-29 13:30:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16145291#comment-16145291 ]

simon steiner commented on FOP-2734:
------------------------------------

Can we see fo and fop.xconf
Post by Nagendra (JIRA)
issue in Printing emoji symbols in pdf by using fo.ftl
------------------------------------------------------
Key: FOP-2734
URL: https://issues.apache.org/jira/browse/FOP-2734
Project: FOP
Issue Type: Bug
Components: fo/block
Affects Versions: 2.2
Environment: Ubuntu, Windows , Java, FTL
Reporter: Nagendra
Labels: EmojiOne, FOP, Java7, documentation, emoji, fonts
Attachments: MessageCard-22-08-2017-17-54-18.pdf
Original Estimate: 48h
Remaining Estimate: 48h
Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
simon steiner (JIRA)
2018-05-16 12:13:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

simon steiner resolved FOP-2734.
--------------------------------
Resolution: Cannot Reproduce
Post by Nagendra (JIRA)
issue in Printing emoji symbols in pdf by using fo.ftl
------------------------------------------------------
Key: FOP-2734
URL: https://issues.apache.org/jira/browse/FOP-2734
Project: FOP
Issue Type: Bug
Components: fo/block
Affects Versions: 2.2
Environment: Ubuntu, Windows , Java, FTL
Reporter: Nagendra
Priority: Major
Labels: EmojiOne, FOP, Java7, documentation, emoji, fonts
Attachments: MessageCard-22-08-2017-17-54-18.pdf
Original Estimate: 48h
Remaining Estimate: 48h
Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Archimedes Trajano (JIRA)
2018-11-19 19:28:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16692150#comment-16692150 ]

Archimedes Trajano commented on FOP-2734:
-----------------------------------------

I am suspecting it is because PDFBOX does not support all substitution tables.Β  If I use the Noto Emoji fonts

Β 

14:23:24.631 [main] DEBUG org.apache.fontbox.ttf.GlyphSubstitutionTable - Type 3 GSUB lookup table is not supported and will be ignored
14:23:24.631 [main] DEBUG org.apache.fontbox.ttf.GlyphSubstitutionTable - Type 4 GSUB lookup table is not supported and will be ignored
14:23:24.631 [main] DEBUG org.apache.fontbox.ttf.GlyphSubstitutionTable - Type 6 GSUB lookup table is not supported and will be ignored
14:23:24.632 [main] DEBUG org.apache.fontbox.ttf.GlyphSubstitutionTable - Type 7 GSUB lookup table is not supported and will be ignored



I took out the duplicates.Β  I think the trunk version supports type 4 now.
Post by Nagendra (JIRA)
issue in Printing emoji symbols in pdf by using fo.ftl
------------------------------------------------------
Key: FOP-2734
URL: https://issues.apache.org/jira/browse/FOP-2734
Project: FOP
Issue Type: Bug
Components: fo/block
Affects Versions: 2.2
Environment: Ubuntu, Windows , Java, FTL
Reporter: Nagendra
Priority: Major
Labels: EmojiOne, FOP, Java7, documentation, emoji, fonts
Attachments: MessageCard-22-08-2017-17-54-18.pdf
Original Estimate: 48h
Remaining Estimate: 48h
Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Tilman Hausherr (JIRA)
2018-11-20 20:04:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693736#comment-16693736 ]

Tilman Hausherr commented on FOP-2734:
--------------------------------------

The user did not attach the two requested files so it is impossible to guess what is going on.

{color:#333333}I looked at the PDF file, none of the fonts embedded supports all these emojis, not even in b/w. {color}
Post by Nagendra (JIRA)
issue in Printing emoji symbols in pdf by using fo.ftl
------------------------------------------------------
Key: FOP-2734
URL: https://issues.apache.org/jira/browse/FOP-2734
Project: FOP
Issue Type: Bug
Components: fo/block
Affects Versions: 2.2
Environment: Ubuntu, Windows , Java, FTL
Reporter: Nagendra
Priority: Major
Labels: EmojiOne, FOP, Java7, documentation, emoji, fonts
Attachments: MessageCard-22-08-2017-17-54-18.pdf
Original Estimate: 48h
Remaining Estimate: 48h
Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Archimedes Trajano (JIRA)
2018-11-21 13:57:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16694735#comment-16694735 ]

Archimedes Trajano commented on FOP-2734:
-----------------------------------------

I use openhtmltopdf but the behaviour of getting "####" is the same for me so I am suspecting it is similar, not an FOP issue but a PDFBox issue.
Post by Nagendra (JIRA)
issue in Printing emoji symbols in pdf by using fo.ftl
------------------------------------------------------
Key: FOP-2734
URL: https://issues.apache.org/jira/browse/FOP-2734
Project: FOP
Issue Type: Bug
Components: fo/block
Affects Versions: 2.2
Environment: Ubuntu, Windows , Java, FTL
Reporter: Nagendra
Priority: Major
Labels: EmojiOne, FOP, Java7, documentation, emoji, fonts
Attachments: MessageCard-22-08-2017-17-54-18.pdf
Original Estimate: 48h
Remaining Estimate: 48h
Issue in printing pdf, By using apache freemarker fo.ftl, The text to be print in pdf is "β˜ΉοΈπŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£β˜ΊοΈπŸ˜ŠπŸ˜‡πŸ™‚πŸ™ƒπŸ˜‰πŸ˜ŒπŸ˜ŒπŸ˜πŸ˜˜πŸ˜—" , But instead printing "☹️########☺️##########" .
Can you please check the following attachment of pdf which is having the issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Loading...