-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Cascadia Code static vs variable (VF) rendering #14891
Comments
Hey before going any further on this thread: absolutely do NOT set yourself as owner for anything under |
Ok, then please advice me how I can get rid of the bundled font? The steps described above are done in order to be able to bugfix (or rather triage) a problem, not for any 'normal' user. |
Couldn't you just install the 12 variants of "CascadiaCodePL" and then compare "Cascadia Code PL" with the builtin "Cascadia Code"? That way you wouldn't have to delete any fonts to reproduce the issue. According to Visual TrueType we're rendering the text correctly. @DHowett there seems to be something strange going on with the static variants of Cascadia Code. If I load them into VTT they look identical to the VF variant, but once I load the GASP table, I get warnings in VTT and the glyphs are suddenly 1px taller. With the lowercase "w" character at 12pt and 144dpi for instance, both initially load as 12px tall, but once the GASP table has loaded for the static variants its suddenly 13px tall. |
In principle I could, but whatever the result I would never know if that is a difference between the vanilla and the PL version.
I do not know that tool. But WordPad renders both fonts also identical. And Glyphs' TextPreview tool (used to check fonts after creation) also renders both identical 🤔 So far Windows is the only platform where I witnessed the problem. One thing lingers still in the back of by head, I believe I had a discussion with aaronbell about the static fonts and that they are different in some way; unfortunately I can not find that thread anymore. |
After re-reading the issue I linked myself for the 3rd time: I guess this is the exact effect we see here. So it might be the autohinting that 'breaks' the static fonts; and has nothing to do with Windows Terminal per se. So I guess this Issue is wrong here (as speculated in the beginning). Thank you so much for looking into it! I close this now, sorry for raising a red-herring. |
That's alright, thanks for following up! |
Windows Terminal version
1.16.10262.0
Windows build number
10.0.22000.1574
Other Software
Cascadia Code release 2111.01
Steps to reproduce
i
at some bigger size (effect is not size dependent though)[1] For people like me that is hard, here is a manual:
MAINTAINER EDIT: DO NOT FOLLOW THESE STEPS. Changing the permissions on WindowsApps is a one-way street to pain.
Note that a Windows Terminal update reinstalls the bundled font, of course.
I'm not entirely sure if this should be reported here or at Cascadia Code. But the issue can not be seen on WordPad and also not in terminals on other platforms, so I guess it is something specific to Windows Terminal.
I tried
experimental.rendering.software
true and false (and alsoexperimental.useAtlasEngine
) but the outcome is unchanged.Related issues, that as far as I can see all are due to the effect described in this issue.
The problem with the issues above was that they all compare the VF to the static ones and the VF is hard to get rid of.
Expected Behavior
Both fonts should look the same. With maybe a very slight weight difference because one is interpolated on the fly.
Actual Behavior
i
is noticable down (or stays in place while the dotless-i glyph resizes)The effect is even visible in the font preview window.
For easier visual comparison I use a renamed copy of
Cascadia Cove Regular ttf
with the nameDelugia
.The first image shows that
Delugia
andCascadia Cove static
render the same (at least no really noticable differences):The second image now compares
Delugia
andCascadia Cove VF ttf
. Because of the comparison above this is equivalent to comparingCascadia Cove static
toCascadia Cove VF
:The text was updated successfully, but these errors were encountered: