-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Monospacing broken by Chinese character #14589
Comments
@actboy168 Does it work with |
I can reproduce the problem, but I'm sorry the ultimate font rendering is done by Chromium. So, feel free to create an issue against Chromium https://bugs.chromium.org/p/chromium/issues/list Here for example I am using Inconsolata (http://levien.com/type/myfonts/inconsolata.html) We use 100% the same code to render. When changing fontFamily we simply let Chromium know the desired font family and let it render the text. |
Same issue here. Chinese fonts does not work with monospace. Here is my vscode config: {
"editor.fontFamily": "'Monaco', 'Source Han Sans'",
"editor.fontSize": 20,
"editor.wrappingColumn": 0,
"editor.wrappingIndent": "indent",
"editor.formatOnType": true,
"editor.tabCompletion": true,
"editor.mouseWheelZoom": true,
"editor.renderControlCharacters": true,
"editor.renderIndentGuides": true,
"files.autoSave": "afterDelay",
"editor.renderWhitespace": "all",
"editor.rulers": [80]
} Chinese fonts are always monospacing. |
@abcfy2 Please create an issue against Chromium if you believe the font you are trying is monospace and Chromium renders it incorrectly https://bugs.chromium.org/p/chromium/issues/list In the meantime, the Inconsolata font I link to above is monospace and renders consistent widths for CJK characters. |
This is an upstream issue (possibly within Chromium), and there are no known workarounds that we could implement on our side. This means there is no possible code change for us to do in VS Code sources to improve things. To keep the number of issues in our inbox at a manageable level, we’re closing issues that have been on the backlog for a long time but haven’t gained traction or that are not actionable. Thank you for your time and understanding. |
yahei_mono.zip
notepad:
vscode:
Steps to Reproduce:
1.Setup 'Yahei Mono' font.
2.Set to setting.json
3.Input
The text was updated successfully, but these errors were encountered: