decktape icon indicating copy to clipboard operation
decktape copied to clipboard

Emojis are missing from bold text and headings in PDF

Open Graumagier opened this issue 1 year ago • 3 comments

When converting some reveal.js slides to PDF decktape is not including some emoji in headings as well as in bold text. I go from Markdown to Quarto (reveal.js) to decktape with decktape -s 1422x1067.

  • HTML in Chrome: HTML in Chrome

  • Final PDF output: Final PDF output

I've attached some minimal examples (HTML generated by Quarto and final PDF out of decktape).

I've also found When exporting to screenshots, emojis are missing in titles #209 which might be related, although there the issue only seems to occur in (image) screenshots.

Thanks!

emojis_minimal.pdf emojis_minimal_html.zip

Graumagier avatar Sep 12 '23 07:09 Graumagier

Would be great if this could be fixed; also happening here - if you need additional information, just reply.

Avoiding bold emojis e.g. is an easy workaround.

Might also be an alternative: https://www.bannerbear.com/blog/how-to-get-puppeteer-to-display-emojis/

MarkusTiede avatar Sep 28 '23 07:09 MarkusTiede