-
Notifications
You must be signed in to change notification settings - Fork 811
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 Mono shouldn't use contextual alternate for x #285
Comments
Good catch. Thanks! |
Fair enough :). I don't think, though, that this is a "Code" vs "Mono" thing, though, as the same situation could happen in either case. I'll disable the code entirely for now until we figure out a better way to implement it. |
Yeah, perhaps getting rid of this feature would be better for both fonts. (Then again, I don’t ever use ligature fonts for programming, precisely because I don’t like being tricked by my fonts, so I can’t answer for Code.) |
This major update adds a weight range to Cascadia Code. This font is now being built as a Variable Font, which enables users to select the perfect weight for their preference. The weight range now extends from ExtraLight (200) to Bold (700), with the current Regular set at 500 (400 in the font selector, 500 internally). As a variable font, OS / rendering engine support may vary. Users running Windows 10 and Windows Terminal will have access to the full range of font weights. Other applications may only have access to the named instances (ExtraLight / Semilight / Light / Regular / SemiBold / Bold) depending on inbuilt support. Static instance OTFs are also provided. At current, static TTFs are not built in this update, but it is something we will consider in the future. Variation implementation tested on Windows and Mac, font hinted and reviewed on high and low DPI devices. Closes #25 - weight axis added Closes #43 - with weight addition, parenthesis width is preserved Closes #284 - ligature now broken for easier recognition Closes #90 - produced as a variable font Closes #128 - MORE WEIGHTS Closes #285 - contextual code removed Signed-off-by: Aaron Bell <[email protected]>
I was working with a third-party service that provided me with a URL of this form:
I saw this URL in Windows Terminal, which defaults to Cascadia Mono. The way this URL displayed was this:
This made me think the third-party service is using × (U+00D7 MULTIPLICATION SIGN) instead of the usual letter x (U+0078 LATIN SMALL LETTER X). This confusion is not something I want from a terminal. In my opinion, the contextual alternate should only be in Cascadia Code.
Here’s a sample (in Word, with ligatures and contextual alternates enabled):
And in Windows Terminal:
The text was updated successfully, but these errors were encountered: