typst-py
typst-py copied to clipboard
On Linux using Linux Libertine font, some characters are tofu boxes
On Linux using Linux Libertine font, some characters are tofu boxes.
I develop on Windows, I generate a typst file in Python, the font is set to "Linux Libertine", and I use characters like ✅ and ❌ in a few places. Then I generate the PDF with typst.compile() This works fine.
The code then runs on a linux server in a Docker container. The text seems right, but those checkbox and cross characters are replaced with tofu boxes.