messense/typst-py

On Linux using Linux Libertine font, some characters are tofu boxes

Opened this issue · 0 comments

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.

image