Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Shomnipotence opened this issue Jul 5, 2024 · 9 comments

Comments

@Shomnipotence
Copy link

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

@hotwords123
Copy link

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

@RytoEX
Copy link
Member

RytoEX commented Jul 17, 2024

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.

@hiking93
Copy link

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

@TianQiBuTian
Copy link
Contributor

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.

@norihiro
Copy link
Contributor

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

@RytoEX
Copy link
Member

RytoEX commented Jul 26, 2024

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.

@ChrisKimZHT
Copy link

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

@Pioooooo
Copy link

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.

@TianQiBuTian
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants