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
When I compile the attached file with the latest Tinymist in VSCode (LF, UTF-8) on Debian Bookworm, some characters cannot be displayed correctly under some conditions. However, the corresponding font files (both "Kaiti" and "Kaiti_GB2312") are without problems.
The problem occurs with both Typst (CLI) and Tinymist, and while adjusting the arrangement of "有" and "理" and other chars, the appearance of the problem can vary.
Containing just following lines can lead to the bug:
This problem seems to happen only on some of the systems. I tested the same input (the only 3 characters, without setting font fallbacks) on Ubuntu, but it generated a normal output pdf where every character is displayed correctly.
Both are tested with the latest release 0.13.0.
Activity
What410802 commentedon Feb 19, 2025
There is no such problem when doing so in the official online editor, but the default font is different.
hongjr03 commentedon Feb 20, 2025
I don't see a set rule for setting fonts in the screenshot, so I'm guessing this could be a fallback issue. See https://typst-doc-cn.github.io/guide/FAQ/strange-fonts.html
What410802 commentedon Feb 21, 2025
This problem seems to happen only on some of the systems. I tested the same input (the only 3 characters, without setting font fallbacks) on Ubuntu, but it generated a normal output pdf where every character is displayed correctly.
Both are tested with the latest release 0.13.0.
wdscxsj commentedon Feb 22, 2025
@What410802 Hi, what's the font previewer in the second screenshot? It looks snappy. Thanks.
What410802 commentedon Feb 22, 2025
It's KFontView in KDE.