comprehensive-rust icon indicating copy to clipboard operation
comprehensive-rust copied to clipboard

set fallback fonts for PDF rendering

Open max-heller opened this issue 1 year ago • 1 comments

Once a new version of Pandoc is released that includes https://github.com/jgm/pandoc/pull/9204 and https://github.com/jgm/pandoc/pull/9353 (both merged), this will fix the emoji and symbol rendering issues in #1708.

It doesn't seem to be possible to set fallback fonts with luatexja-fontspec (used to configure CJK fonts), which results in some missing symbols in the translations but at least renders the emoji properly.

Closes #1708

max-heller avatar Jan 20 '24 17:01 max-heller

Thank you for continuing to work on this!

mgeisler avatar Jan 22 '24 16:01 mgeisler

Pandoc released a new version!

Rendered with 🦀

Publish workflow log

max-heller avatar Feb 16 '24 01:02 max-heller

Pandoc released a new version!

Rendered with 🦀

Publish workflow log

Wow, looks great!

mgeisler avatar Feb 19 '24 16:02 mgeisler

Hi @max-heller, I'll be very happy to merge this, there is just a small conflict to resolve — I think it's because I moved the code to install Pandoc and friends in #1713.

mgeisler avatar Mar 06 '24 16:03 mgeisler

Hi @max-heller, I'll be very happy to merge this, there is just a small conflict to resolve — I think it's because I moved the code to install Pandoc and friends in #1713.

resolved!

max-heller avatar Mar 06 '24 23:03 max-heller

The new beautiful PDFs are now live! Thanks a lot!

mgeisler avatar Mar 07 '24 14:03 mgeisler