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

[Windows] Use modern fonts for CJK #9901

Open
petercpg opened this issue Sep 23, 2024 · 3 comments
Open

[Windows] Use modern fonts for CJK #9901

petercpg opened this issue Sep 23, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@petercpg
Copy link

Describe the bug
On zh-TW Windows, the VPN App uses a thin serif font to render UI message, which is difficult to read and weird from English texts.

VPN version:
2.23.1 (2.202406271914)

Affected Platforms:

  • Windows 11 23H2 (OS Build 22631.4169) Traditional Chinese

Prerequisites:
N/A

Steps to reproduce:

  1. Get a Windows 11 instance, set to zh-TW UI
  2. Install VPN, launch it
  3. Observe UI font

Expected result:

  1. For UI message in Traditional Chinese, should use OS default fonts (Microsft Jhenghei / 微軟正黑體) for better legibility

Actual result:

  1. Some thin serif font (PMingLiu?) was used, making UI message hard to read (Probably a font fallback issue?)
  2. Switching VPN App to other CJK locales such as zh-CN, ja-JP did not change to its default font (Microsoft YaHei or Yu Gothic UI) either.

Additional notes:
圖片
圖片
圖片

@petercpg petercpg added the bug Something isn't working label Sep 23, 2024
@petercpg
Copy link
Author

mozillavpn-2024-9-23.log

@albionx
Copy link
Collaborator

albionx commented Oct 30, 2024

Thanks for the report Peter. I'm having trouble replicating with a newer version of the App. Here's a comparison of your screenshot (right) vs the client as I see it on Windows (left), using Traditional Chinese.
image

As you can see, the way I see it is much more crisp than on your screenshot. I wonder if this is a resolution problem. Would you mind updating to the latest stable client and letting us know if you still see the same issue?

@petercpg
Copy link
Author

Hi @albionx, I'm now on latest nightly 2.25.0 (2.202410310643) and it still looks like the Chinese characters are still rendered with the old PMingLiu font, while Latin Alphabets are not.

2024-10-31_161230

I did a little bit more compare and it seems the font used to render your Mozilla VPN UI are Yu Gothic UI, the default for Japanese Windows, based on this Article.

圖片

The resolution set for my PC is 1920x1080, and 125% dpi. Let me know if there are more logs or settings that would be helpful on reproducing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants