You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On version 52.5 I got tofu characters instead of a crash. I managed to get rid of the error by installing the 'fonts-noto-cjk' package on Ubuntu, and at the same time got rid of the tofu characters. I'm assuming the noto font is being used a fallback. The only problem is that my PDF grew to 16mb from the original 67kb in version 52.5. That's without setting the optimize_size parameter to an empty tuple. I'm assuming the whole fallback is being embedded.
liZe
added
the
crash
Problems preventing documents from being rendered
label
Jul 1, 2021
It’s not easy to test, because most systems have a fallback font for virtually any character, but it seems to work now. With 52.5, Cairo was probably able to insert a tofu character for missing glyphes.
Feel free to test, I hope that the generated document is valid.
Try create a PDF containing "부산시 " with Open Sans or any other font without korean glyphs. The resulting stack trace is:
A workaround is to pass write_pdf
optimize_size=()
.The text was updated successfully, but these errors were encountered: