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

Better fonts for CJK users #26175

Closed
iamCristYe opened this issue May 8, 2017 · 9 comments
Closed

Better fonts for CJK users #26175

iamCristYe opened this issue May 8, 2017 · 9 comments
Labels
electron Issues and items related to Electron feature-request Request for new features or functionality font-rendering Font rendering issues info-needed Issue requires more information from poster upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@iamCristYe
Copy link
Contributor

Hi! Thanks for your efforts in #5260! However, I'm currently experiencing the following issue:
image
The displayed menu is using a mix of Chinese font and Japanese font(I'm using zh-CN for VS Code in English Windows 10 ). Probably it's because VS Code decides the language from electron API(which uses Windows API to know that English is the system language and Japanese fonts have a priority compared with Chinese in fonts fallback in this case) instead of locale.json. Is it possible to fix that?
And also, for the editor, it would be great to automatically add a line in settings.json like
"editor.fontFamily": "Consolas, Microsoft Yahei UI Light, 'Courier New', monospace"
for zh-CN VS Code users since the default Chinese font for Chinese User is quite ugly. The similar issue may occur for other CJK users.
Thanks! @be5invis

@rebornix rebornix added the feature-request Request for new features or functionality label May 26, 2017
@bpasero bpasero added the menu label May 28, 2017
@be5invis
Copy link
Contributor

be5invis commented May 28, 2017

@iamCristYe
I think it is related to font fallback...
Given that we know the locale you are using we can force the UI typeface...

@iamCristYe
Copy link
Contributor Author

iamCristYe commented May 28, 2017 via email

@be5invis
Copy link
Contributor

be5invis commented May 28, 2017

@iamCristYe The root case is that Windows does not have an unified typeface family to cover all CCJK languages, so that fallback made inconsistency.
To solve this completely we need time(~2 years), money (~$10M), and technology (perhaps we need to update the format of OpenType if we go beyond 65,535 glyphs).

@iamCristYe
Copy link
Contributor Author

iamCristYe commented May 29, 2017 via email

@bpasero bpasero added the font-rendering Font rendering issues label Nov 11, 2017
@bpasero bpasero added upstream Issue identified as 'upstream' component related (exists outside of VS Code) electron Issues and items related to Electron labels Jul 13, 2018
@rebornix rebornix removed their assignment Sep 5, 2018
@bpasero
Copy link
Member

bpasero commented Sep 17, 2018

@iamCristYe can you see how the situation is using our latest insider builds that come with custom menu?
You can give our preview releases a try from: https://code.visualstudio.com/insiders/

@bpasero bpasero added the info-needed Issue requires more information from poster label Sep 17, 2018
@iamCristYe
Copy link
Contributor Author

iamCristYe commented Sep 18, 2018

@bpasero I'm sorry that currently I'm using Windows with Chinese Interface. I may reinstall the system with English Interface when Windows 10 ver 1809 comes out and hopefully I can give you a comment then.

@bpasero
Copy link
Member

bpasero commented Sep 18, 2018

OK

@vscodebot vscodebot bot closed this as completed Sep 25, 2018
@vscodebot
Copy link

vscodebot bot commented Sep 25, 2018

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@iamCristYe
Copy link
Contributor Author

@bpasero The problem has been resolved.
image

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
electron Issues and items related to Electron feature-request Request for new features or functionality font-rendering Font rendering issues info-needed Issue requires more information from poster upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

4 participants