How can I set a fallback font for the UI?

已回答

In Settings > Editor > Font, I can set the fallback font (Microsoft YaHei UI) for the main font (JetBrains Mono) to get a decent appearance for characters not supported by the main font (especially CJK characters). However, in Settings > Appearance & Behavior > Appearance, there seem no such settings for fallback fonts, and fallback font settings for editors are not respected in the UI (see screenshot below). How can I set a fallback font for the UI, so that CJK characters get a decent appearance also in the UI?

Thanks.

Some information about this instance of IntelliJ IDEA:

IntelliJ IDEA 2023.1 (Ultimate Edition)
Build #IU-231.8109.175, built on March 28, 2023
Runtime version: 17.0.6+10-b829.5 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Registry:
    debugger.new.tool.window.layout=true
    ide.experimental.ui=true
    feature.suggester.enable.suggesters=true
2

Hi,

It seems you are hitting this issue:  https://youtrack.jetbrains.com/issue/IDEA-296938 CJK font fallback for "Appearance & Behavior | Appearance" is SimSun when using the new UI (YaHei expected)

There is also a feature request: https://youtrack.jetbrains.com/issue/IDEA-294326/Add-fallback-font-for-the-UI-Appearance 

Feel free to vote and watch the YouTrack item in order to be notified once it has updates. See [this article](https://intellij-support.jetbrains.com/hc/articles/207241135) if you are not familiar with YouTrack.
 
So far there is no workaround for this, or you can set all UI font to Microsoft YaHei but not Microsoft YaHei UI.
1

请先登录再写评论。