obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

In Chinese environment, the font does not follow the operating system settings. The current font is Songti

Open Shomnipotence opened this issue 1 year ago • 9 comments

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/nSlyDlWI2pp4j6VZ

OBS Studio Crash Log URL

No response

Expected Behavior

image In Chinese environment, the font should follow the operating system settings. By default, the default font for Chinese in Windows is Microsoft YaHei,The current font is Songti.

Current Behavior

In Chinese environment, the font does not follow the operating system settings. The current font is Songti

Steps to Reproduce

Open the Chinese version of Windows, install OBS, and launch it

Anything else we should know?

No response

Shomnipotence avatar Jul 05 '24 02:07 Shomnipotence

Same issue. The font after the update is really hard to distinguish.

hotwords123 avatar Jul 17 '24 16:07 hotwords123

As far as I am aware, Qt selects the default system font, and it reportedly selected YaHei when the system is set to Chinese locale according to reports from 2022. There were some QTBUGs opened regarding font shaping/kerning issues with YaHei, but those have been marked resolved.

This is a test Qt 6.6.2 app that I quickly wrote (matching Qt 6.6.2 in OBS Studio 30.1.0, per the OP's log) that just displays the selected application font test-qt-font-family.zip

If you could check if this value is what you expect, that would be helpful to know, but my current suspicion is that this is a Qt issue and not an OBS issue.

RytoEX avatar Jul 17 '24 17:07 RytoEX

As far as I am aware, Qt selects the default system font, and it reportedly selected YaHei when the system is set to Chinese locale according to reports from 2022. There were some QTBUGs opened regarding font shaping/kerning issues with YaHei, but those have been marked resolved.

This is a test Qt 6.6.2 app (matching Qt 6.6.2 in OBS Studio 30.1.0, per the OP's log) that just displays the selected application font test-qt-font-family.zip

If you could check if this value is what you expect, that would be helpful to know, but my current suspicion is that this is a Qt issue and not an OBS issue.

The sample app reports expected "Microsoft JhengHei UI" in Traditional Chinese environment.

test-qt-font-family_aHIqgg2GuS

hiking93 avatar Jul 24 '24 07:07 hiking93

Report the expected "Microsoft YaHei UI" in Simplified Chinese environment. 屏幕截图 2024-07-25 001433 @norihiro Sorry for the ping, but need your confirm in Japanese environment.

TianQiBuTian avatar Jul 24 '24 19:07 TianQiBuTian

It shows Yu Gothic UI on Japanese environment. It's (probably) the system default fonts.

win10-pro-22h2 Windows 10 Pro 64bit 22H2

win11-pro-23h2 Windows 11 Pro 64bit 23H2

norihiro avatar Jul 26 '24 05:07 norihiro

If I have time, I'll see if I can get the same test to run in OBS to see if somehow something is amiss.

RytoEX avatar Jul 26 '24 05:07 RytoEX

same issue, current Songti is hard to read on the screen.

ChrisKimZHT avatar Sep 14 '24 14:09 ChrisKimZHT

You can fix it by using a custom theme:

Put this in your themes directory, restart obs and select 'Yahei'. You can also change the theme extended from if you want to use other default themes.

Wiki - Custom Themes

Location of themes directory

  • Windows: WinKey+R > %APPDATA%\obs-studio\themes\
  • macOS: Cmd+Shift+G > ~/Library/Application Support/obs-studio/themes/
  • Linux: ~/.config/obs-studio/themes/

You may have to create the themes directory yourself.

Pioooooo avatar Sep 20 '24 12:09 Pioooooo

You can fix it by using a custom theme:

Put this in your themes directory, restart obs and select 'Yahei'. You can also change the theme extended from if you want to use other default themes.

Wiki - Custom Themes

Location of themes directory

  • Windows: WinKey+R > %APPDATA%\obs-studio\themes\
  • macOS: Cmd+Shift+G > ~/Library/Application Support/obs-studio/themes/
  • Linux: ~/.config/obs-studio/themes/

You may have to create the themes directory yourself.

This is the same solution as #7390 . Unable to fix issues in non-SChinese environments.

TianQiBuTian avatar Sep 20 '24 14:09 TianQiBuTian