Weird glyph rendering issue with CaskaydiaCove NerdFont #20940

Closed
opened 2026-01-31 07:28:23 +00:00 by claunia · 3 comments
Owner

Originally created by @harvastum on GitHub (Dec 2, 2023).

Windows Terminal version

1.18.231114001

Windows build number

10.0.19045.3570

Other Software

No response

Steps to reproduce

Glyphs do a wavy thing when I type three lower case 'w' letters in a row with CascadiaCode-NF-Mono.

Steps:

  1. Set font to CascadiaCode-NF-Mono
  2. Type www

Expected Behavior

Here's a comparison of what it looks like in VS Code integrated terminal, Windows Terminal and stock terminal:
image

Actual Behavior

As above.

Originally created by @harvastum on GitHub (Dec 2, 2023). ### Windows Terminal version 1.18.231114001 ### Windows build number 10.0.19045.3570 ### Other Software _No response_ ### Steps to reproduce Glyphs do a wavy thing when I type three lower case 'w' letters in a row with CascadiaCode-NF-Mono. Steps: 1. Set font to CascadiaCode-NF-Mono 2. Type `www` ### Expected Behavior Here's a comparison of what it looks like in VS Code integrated terminal, Windows Terminal and stock terminal: ![image](https://github.com/microsoft/terminal/assets/22124947/d38d37e4-8c8d-4e1c-98f8-477f493a8e13) ### Actual Behavior As above.
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 07:28:23 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 2, 2023):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (Dec 2, 2023): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - [Some glyphs in Nerd Fonts are rendered with wrong widths (#11769)](https://github.com/microsoft/terminal/issues/11769), similarity score: 0.80 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@lhecker commented on GitHub (Dec 2, 2023):

Windows Terminal enables ligatures by default and the "www" one is a ligature. You can see it here - it's the first one in the top-left: https://github.com/microsoft/cascadia-code#font-features

If you open your settings.json (Ctrl+Shift+,) you can edit your font features to disable that:

"font": {
    "face": "Cascadia Cove, etc.", // <-- you'll have to search this block
    "features": {
        "liga": 0                  // <-- this disables ligatures entirely
    }
}
@lhecker commented on GitHub (Dec 2, 2023): Windows Terminal enables ligatures by default and the "www" one is a ligature. You can see it here - it's the first one in the top-left: https://github.com/microsoft/cascadia-code#font-features If you open your settings.json (Ctrl+Shift+,) you can edit your font features to disable that: ```jsonc "font": { "face": "Cascadia Cove, etc.", // <-- you'll have to search this block "features": { "liga": 0 // <-- this disables ligatures entirely } } ```
Author
Owner

@harvastum commented on GitHub (Dec 3, 2023):

Thanks, I found some more documentation regarding this:

Font features settings in different apps

https://github.com/tonsky/FiraCode/wiki/How-to-enable-stylistic-sets

Settings in Windows Terminal more specifically

https://learn.microsoft.com/en-us/windows/terminal/customize-settings/profile-appearance#font

List of features that should be possible to set

https://learn.microsoft.com/en-us/typography/opentype/spec/featurelist

Interestingly though, the key you suggested ("liga") didn't have any effect. The settings for particular features seem not to react to any of the following:

"ss01"
"ss02"
"ss03"
"ss04"
"ss05"
"ss06"
"zero"
"onum"
"liga"

They are all disabled when "calt" is set to 0 though.

So, for anyone who somehow lands here from google, here's a snippet that worked for me:

{
  "font": {
      "face": "CaskaydiaCove Nerd Font Mono"
      "features": {
          "calt": 0
      }
}

So, there might be a bug here after all. But my issue is solved and I don't really care about settings granularity here, so if someone else cares to investigate more, seven blessings to you.

@harvastum commented on GitHub (Dec 3, 2023): Thanks, I found some more documentation regarding this: ## Font features settings in different apps https://github.com/tonsky/FiraCode/wiki/How-to-enable-stylistic-sets ## Settings in Windows Terminal more specifically https://learn.microsoft.com/en-us/windows/terminal/customize-settings/profile-appearance#font ## List of features that should be possible to set https://learn.microsoft.com/en-us/typography/opentype/spec/featurelist Interestingly though, the key you suggested ("liga") didn't have any effect. The settings for particular features seem not to react to any of the following: ``` "ss01" "ss02" "ss03" "ss04" "ss05" "ss06" "zero" "onum" "liga" ``` They are all disabled when `"calt"` is set to 0 though. So, for anyone who somehow lands here from google, here's a snippet that worked for me: ```json { "font": { "face": "CaskaydiaCove Nerd Font Mono" "features": { "calt": 0 } } ``` So, there might be a bug here after all. But my issue is solved and I don't really care about settings granularity here, so if someone else cares to investigate more, seven blessings to you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20940