Skip to content
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 default font renders the same character in different glyphs depending on the context #7209

Closed
denilsonsa opened this issue Aug 7, 2020 · 2 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@denilsonsa
Copy link

Environment

Microsoft Windows [Version 10.0.19041.388]

Steps to reproduce

  • Type a digit, followed by x, followed by another digit. (e.g. type 5x5)

Expected behavior

Since this is a monospaced terminal, I expected the same character to be rendered the same way, regardless of the surrounding characters. This is specially important when editing a text file in the terminal, to make sure the x character I see there is the real x, and not the multiplication sign ×.

Actual behavior

When x is between two digits, its glyph changes. It is now rendered exactly the same the multiplication sign ×. Look at this zoomed in screenshot, they are all the lower-case latin x:

image

It took me a couple of minutes staring at a text file I was editing to convince me that character was x instead of ×

Look at this other screenshot. One of these is the multiplication sign. Can you spot it (before looking at xxd output)?

image

Possibly related issues

Investigate/implement renderer setting to disable ligatures

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 7, 2020
@zadjii-msft
Copy link
Member

Yep, you're definitely right. This is because the glyphs are being ligatured together.

IIRC, we ship a non-ligatured version for Cascadia Code in the package as well, something like "Cascadia Mono". You might be able to work around this by using that font instead.

/dup #759

@ghost
Copy link

ghost commented Aug 7, 2020

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Aug 7, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 7, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants