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

Arrow ligature do not works in visual studio #760

Closed IcEarthlight closed 1 month ago

IcEarthlight commented 1 month ago

Cascadia family version

2404.023

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

.ttf (variable)

Platform

Windows 11 23H2 22631.3880

Other Software

Visual Studio Community 2022 17.10.4

What happened?

When I used the font Cascadia Code in visual studio, the ligature do not works with character '-'. (The same thing occurs in Cascadia Code NF and Cascadia Code PL with any weight) I have also tested in notepad, and the ligature works well. Cascadia Code in Visual Studio

glebd commented 1 month ago

It's a Visual Studio editor problem, see https://developercommunity.visualstudio.com/t/font-ligatures-not-working/591741 -- hyphen-based ligatures are not working in WPF. Fira Code issue: https://github.com/tonsky/FiraCode/issues/259

DHowett commented 1 month ago

Indeed, this is a VS issue! Thanks @glebd.