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.76k stars 803 forks source link

The Cascadia Code on Emacs is shown in italics #560

Closed liuzhijun-source closed 3 years ago

liuzhijun-source commented 3 years ago

Cascadia family version

2106.17

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

.ttf (variable)

Platform

Linux (freetype 2.10.4)

Other Software

Emacs 27.2

What happened?

When I set the font to Cascadia code in Emacs, italics is displayed by default. However, no matter the width of the font is changed to regular, light or bold, only italics with the corresponding width will be displayed. Changing the font to Cascadia mono will display normally, but the font will look strange.

image image

aaronbell commented 3 years ago

This is probably the same problem as #500 and will be solved by #538.

I'd suggest using the static instances for the time being rather than the variable font. Sorry for the trouble!