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.11k stars 796 forks source link

Faulty rendering of `===` and `!==` in SemiLight variant #698

Open safarli opened 10 months ago

safarli commented 10 months ago

Cascadia family version

2102.025

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

.ttf (static)

Platform

Windows 10 Pro

Other Software

Visual Studio Code 1.81.1

What happened?

Hello, everyone. The Cascadia Code Regular font works well, but I find it a bit too bold for my liking. Therefore, I decided to switch to the SemiLight variant. Unfortunately, this variant renders some ligatures improperly, as shown below:

code


VSCode Settings:

{
 "editor.fontFamily": "Cascadia Code SemiLight",
 "editor.fontSize": 13
}

Note: When I change the font size to 14, it renders without visual deficiencies

greenhat616 commented 9 months ago

It might be cleartype or directwrite hinting issue, I think.