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.95k stars 807 forks source link

== Ligature not working #436

Closed empyrdev closed 3 years ago

empyrdev commented 3 years ago

Environment

Cascadia Code version number: 2102.25
Application (with version) used to display text: VSCode 1.54.3 and Windows Font Settings
OS platform and version: Windows 10 Pro 20H2
Screen resolution (i.e. 220dpi): 163 dpi

Any other software?

Steps to reproduce

  1. Install Cascadia Code
  2. Type == in either vscode or the windows font preview

I tried this on a much older version of Cascadia code, version 1911.20 and it worked as expected. Does not work on the later versions.

Expected behavior

  1. Expect ligature for == to show

Version 2102.25

Version 1911.20

Actual behavior

  1. No ligature shows as seen in first image

Only happens for the == ligature as far as I know as ===, !=, etc all work fine.

DHowett commented 3 years ago

It was decided that the ligature for == was "too confusing" and it was given a special treatment where it is still divided but the equals signs are closer together.

empyrdev commented 3 years ago

Ah that makes a lot of sense, thanks!