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
Natively bold letter symbols become extremely high in monospace editors #1515
Comments
It seems to happen with every nerd font from https://www.nerdfonts.com/font-downloads |
In my environment this happens with any font and in any application. |
Oh, sorry to hear you have problems! Hmm, just did one test, on my machine with Tilix and CaskadiaCove it does not happen Ah gnome terminal you say ...
In my environment does not happen with any (of the two tested) applications This must be something to do with your setup and what the fallback font is. |
That it is working on my machine? Yes?! Lets see, the codepoints are this: The bold $ fc-list :charset=1D405 family
DejaVu Math TeX Gyre
Latin Modern Math
TeX Gyre Pagella Math
TeX Gyre Termes Math
FreeSerif
TeX Gyre Schola Math
DejaVu Serif,DejaVu Serif Condensed
TeX Gyre Bonum Math
TeX Gyre DejaVu Math
FreeSans
DejaVu Serif
FreeMono I have no clue which one is used, but the one randomly chosen seems good on my machine :-D Anyhow that "bold codepoints" are not part of Nerd Fonts patching and not (at lost not many) of the to-be-patched fonts. |
Terminal enforces line height so it's not a good place to test. Please check a GUI plaintext editor like gedit |
@mooreye Please check with some more common GUI thing like Writer. Did you check the output of above Edit: Typo |
Interestingly In Well, I have no preferences rules, as I never ever use these things. |
Suggestion for @mooreye
If you never changed your fontconfig, this can be used as inspiration, but I am sure there are tons of example on SO or somewhere. |
https://yaytext.com/blog/mathematical-unicode-letters/ 😆 But they are right: |
Thank you all for trying to help with this. I'm using Fedora 39. I have This is my <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<test name="family" qual="any">
<string>monospace</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>SauceCodePro Nerd Font Mono</string>
</edit>
</match>
<match target="pattern">
<test name="family" qual="any">
<string>proportional</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>SauceCodePro Nerd Font Propo</string>
</edit>
</match>
</fontconfig> Command I have With these Gedit settings, the issue happens: When I untick Command And when I change to this font in Gedit, the issue is indeed resolved: However, I want to use my Nerd Font. Is there some modification to This didn't work: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<test name="family" qual="any">
<string>monospace</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>SauceCodePro Nerd Font Mono</string>
</edit>
<edit binding="strong" mode="prepend" name="family">
<string>Bitstream Vera Sans Mono</string>
</edit>
</match>
<match target="pattern">
<test name="family" qual="any">
<string>proportional</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>SauceCodePro Nerd Font Propo</string>
</edit>
<edit binding="strong" mode="prepend" name="family">
<string>Bitstream Vera Sans Mono</string>
</edit>
</match>
</fontconfig> |
Where did you get the unpatched Vera from? But I guess I should not look at this until Nerd Fonts 3.2.0 is ready 😬 |
It's installed from
|
Tnx. I'll try that after the 3.2.0 release |
🗹 Requirements
🎯 Subject of the issue
Experienced behavior:
Natively bold unicode letters like
𝐅𝐎𝐎𝐁𝐀𝐑
are extremely high in a monospace editor like gedit.Expected behavior:
𝐅𝐎𝐎𝐁𝐀𝐑
displays with normal height.Example symbols:
𝐅𝐎𝐎𝐁𝐀𝐑
generated with: https://lingojam.com/BoldTextGenerator
🔧 Your Setup
Anonymice Powerline Nerd Font Complete.ttf
)?Tested with:
git clone --filter=blob:none --sparse https://github.com/ryanoasis/nerd-fonts.git
git sparse-checkout add patched-fonts/{Inconsolata,SourceCodePro}
~/.local/share/fonts/
iterm2
,urxvt
,gnome
,konsole
)?★ Screenshots (Optional)
This is how hugely high line 4 becomes in gedit:
The text was updated successfully, but these errors were encountered: