microsoft / cascadia-code

This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
Other
25.75k stars 804 forks source link

Windows 11 new Notepad has weird rendering of Cascadia Code. #621

Open frivard-coveo opened 2 years ago

frivard-coveo commented 2 years ago

Cascadia family version

2111.001

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

.ttf (variable)

Platform

Windows 11

Other Software

Notepad 11.2112.32.0

What happened?

Having recently upgraded to the new Windows 11, I noticed that the new Notepad allows me to select fonts and size, so I tried Cascadia Code PL (my favorite). I immediately noticed that some characters were... weird... so I took a screenshot with the basic test string with size 20 (my default was size 11, which amplifies the problem, but isn't very large for sharing screenshots). I have 2 screenshots: one with Cascadia Code PL, Notepad-cascadia-code-pl

the other with the default Lucida Console, both at size 20. Notepad-lucida-console

ok well... the compression applied by Github makes it less obvious. look at the lowercase 'a', 'o' and 'g'. They seem like too square-ish. Definitely not what I am used to (I use Cascadia Code PL everywhere: Visual Studio 2022, Notepad++, Windows Terminal)

Oeaps commented 2 years ago

This problem is caused by the new notepad, I think. Each font is rendered ugly.

lxgw commented 2 years ago

This problem is caused by the new notepad, I think. Each font is rendered ugly.

Exactly. DirectWrite seems not to work on the new Notepad app.

o-l-a-v commented 1 year ago

One more example of the strange rendering. Cascadia Mono, size 12, SemiLight. Some letters looks more bold/ thick than others.

image

Added a "bug report" to Windows Feedback Hub, will add the URL here when the item is accepted.

Edit - Here: https://aka.ms/AAior65

funkkiy commented 1 year ago

I've had this issue with Windows 11 since they released the new Notepad too, and it is definitely not restricted to Cascadia Code but to all fonts.

Nagidrop commented 1 year ago

Same issues with Source Code Pro. I can tell this could possibly affect other fonts as well.

aaronbell commented 10 months ago

Hi. This is, unfortunately, a Windows Notepad issue. It appears Notepad is turning on hinting, but isn't actually hinting the fonts. Has this issue been resolved as of yet?

DumboJetEngine commented 10 months ago

I might be missing something, but I think there is an extra problem : Notepad does not render monospaced fonts as... monospaced. I try with Consolas and Cascadia Mono and I get weird renders. See Notepad++ vs Notepad:

image

Probably a Notepad bug too, so there is no way for me to post a bug report anywhere about it (since that requires using the feedback hub, which in turn requires using a Microsoft account, which in turn requires me to stop being me). That is a quite ingenious way of stopping user bug reports and feedback from coming in, from the side of Microsoft, I have to admit !