-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Patching Cascadia Code changes font height in Windows Terminal #519
Comments
Also, now I've noticed, the dot in the letter "i" in the OTF version is visiby closer to the stem. |
Cascadia Code has since attempted to fix the issue by supplying additional font height attributes in ttfautohint (which I am not familiar with, so I can sadly not be of assistance on that front), but it did not seem to help. My comment on the issue in their repo highlights very well what the issue is: microsoft/cascadia-code#371 (comment). I'm hoping we can find a fix for it, as I'd love to use oh-my-posh and powerlevel10k with Cascadia Code! |
Hey @Ririshi, I was just attempting to patch Cascadia, but I guess there's no point in it as this issue still persists. Can you recommend a nerd font does not have this issue? |
The problem are the hints in the static fonts we use. They are already 'bad' in the Cascadia Code release files. This has nothing to do specifically with Nerd Fonts. Compare yourself the Cascadia Code variable font (that obviously everyone compared to) to the parallel installed original Cascadia Code PL static fonts. That it once worked and now doesnt is because the hints were manually created in the beginning, but later the static fonts became 2nd class citizens and were only autohinted. We reuse the existing not-so-good hints. For interested see https://github.com/microsoft/cascadia-code/issues number 371 |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference. |
🎯 Subject of the issue
When patching Cascadia Code 2008.25, whether the static ttf version or the static otf version, the font height changes significantly in Windows Terminal (both Ubuntu and Console). For TTF version the size change is visible in font settings in Notepad also. This was not true for the 2005 version of the font. The TTF version appears visibly larger than the OTF version which in turn is larger than the orignal font.
I appologise in advance if this is not a problem caused by Nerd Font's font patcher, I will take this up with the Microsoft guys if needed.
🔧 Your Setup
Anonymice Powerline Nerd Font Complete.ttf
)?Cascadia Code 2008.25
iterm2
,urxvt
,gnome
,konsole
)?Windows Terminal Version: 1.3.2382.0
Windows 2004 (OS Build 19041.450)
★ Optional
Please view the full size screenshots, otherwise the difference is not so obvious.
Original font
v2005 TTF
v2008 OTF
2008 TTF
The text was updated successfully, but these errors were encountered: