-
Notifications
You must be signed in to change notification settings - Fork 8
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
The width of the half-width space appears doubled in VSCode #7
Comments
hmm... It seems that VSCode sees some other properties in fonts than other apps. I will investigate this deeper. Wait minutes. |
This commits is a temporal solution for #7.
This commits is a temporal solution for #7.
This commits is a temporal solution for #7.
for the “space” glyphI've released v1.1.1 for a temporal workaround for this. This installs source fonts named “SF Mono 1x2”. SF Mono 1x2 is a part of SF Mono Square and has half-width glyphs only. You can set it as
This makes good for such texts above. for line heightIn general, VSCode adjusts the line height by calculating with some properties of fonts. SF Mono Square and the original SF Mono have this properties and VSCode inserts some spaces between lines even if So if you feel annoying the extra space, you should supply the same value as the font size into Line Height. |
@delphinus It's working as I expected. Thank you! |
welcome ;) I will investigate further, later. |
I can not see full-width space with VSCode "SF Mono 1x2", "SF Mono Square". |
@pddg Sorry for toooo late. This is fixed in the release v3.1.0, I think. Check it out. |
Hi. I'm a developer and not very familiar with fonts.
Please let me know what happened when using this awesome product.
Environtment
I installed the SF Mono Square following your instruction on README. And open the folder containing fonts, then, double clicked and installed them.
What is the problem?
I want to use this font on VSCode, but the half-width space looks like doubled.
And the line height behaves strangely with default value
0
. It uses the size of font if it specified0
.But I specify the line height manually (as same as editor font size), It behaves normally.
These behaviors do not appear in other applications such like iTerm2 or PyCharm.
This phenomenon could not be confirmed with other fonts (Menlo, Monaco, Ricty Diminished with-icons...etc).
Question
The text was updated successfully, but these errors were encountered: