rstudio/pagedown

Rendering Unicode Symbols to PDF

Closed this issue · 1 comments

Hi!

Firstly, thanks for maintaining {pagedown}. I use this package daily and it's super.

I do have a persistent problem though. I often use Unicode symbols (like ⏰ or ☕) to liven up my documents. These show up perfectly in the HTML document. However, when I print to PDF using pagedown::chrome_print() the symbols either don't show up. If I select the portion of the PDF where I expect to see the symbol then I can actually see it's outline in the selection, but the symbol itself doesn't show up.

What I see in HTML:

Screenshot from 2024-07-05 09-57-49

What I see in PDF (selected to show that the outline is there):

Screenshot from 2024-07-05 09-56-51

Actually, there are some symbols that show up at least partially without having to select anything:

Screenshot from 2024-07-05 09-59-24

Thank you, Andrew.

Fixed this by installing Noto fonts.