Why is a CJK character higher than the others?

圆⼼⻆ 圆周⻆ 角度shows like
image
Why “角” is higher than other? Maybe Typst like math?

Have you #set text(font: …)? The default font (Libertinus Serif) does not contain Han characters, leading to random fallbacks. In other words, different characters might be rendered in different fonts with different baselines.

I notice you created 显示圆心角时出现错误 · Issue #84 · typst-doc-cn/guide · GitHub.

⼼⻆ 两个字在奇怪的点位上,并非简体中文常用unicode点位。你可以换个覆盖更全的字体(比如思源宋体)。或者改成常用的字。

Translation:

  • Cause: 心角/⼼⻆ are encoded twice in Unicode, one in CJK Unified Ideographs, another in Kangxi Radicals / CJK Radicals Supplement. Only the former is commonly used in everyday life and supported by your font, but somehow, you input the latter.

  • Solution:

    • Replace the latter with the former.
    • Alternatively, use a better font (e.g. Source Han).