Font Features is inconsistent #15289

Closed
opened 2026-01-31 04:33:53 +00:00 by claunia · 5 comments
Owner

Originally created by @Nosamdaman on GitHub (Sep 20, 2021).

Originally assigned to: @PankajBhojwani on GitHub.

Windows Terminal version (or Windows build number)

10.0.19043.1237, 1.11.2421.0

Other Software

No response

Steps to reproduce

I'm using the Nerd-Font port of FiraCode as my font for Windows Terminal. Using the new Font Features options, I've configured WT to use the alternate zero glyph which replaces the slash in the middle of the character with a dot. There have been a couple instances in which I've launched a terminal only for the zero glyph to have reverted back to the old style, though launching a new terminal does fix the issue.

Here is my settings config:

"font": 
{
  "face": "FiraCode NF",
  "features": 
  {
    "calt": 0,
    "ss04": 1,
    "zero": 1
  },
  "size": 12
},

I think I've found a way to reproduce this. It seems like it happens when you first launch windows terminal from a full restart.
Ignore that last one, it doesn't happen all the time. I can trigger the effect by dragging my window from a display at 100% scaling to one with 125% scaling.

Expected Behavior

The font should display with the correct 0 symbol

Actual Behavior

The zero symbol is incorrect.

Originally created by @Nosamdaman on GitHub (Sep 20, 2021). Originally assigned to: @PankajBhojwani on GitHub. ### Windows Terminal version (or Windows build number) 10.0.19043.1237, 1.11.2421.0 ### Other Software _No response_ ### Steps to reproduce I'm using the Nerd-Font port of FiraCode as my font for Windows Terminal. Using the new Font Features options, I've configured WT to use the alternate zero glyph which replaces the slash in the middle of the character with a dot. There have been a couple instances in which I've launched a terminal only for the zero glyph to have reverted back to the old style, though launching a new terminal does fix the issue. Here is my settings config: ``` "font": { "face": "FiraCode NF", "features": { "calt": 0, "ss04": 1, "zero": 1 }, "size": 12 }, ``` ~~I think I've found a way to reproduce this. It seems like it happens when you first launch windows terminal from a full restart.~~ Ignore that last one, it doesn't happen all the time. I can trigger the effect by dragging my window from a display at 100% scaling to one with 125% scaling. ### Expected Behavior The font should display with the correct `0` symbol ### Actual Behavior The zero symbol is incorrect.
Author
Owner

@Nosamdaman commented on GitHub (Sep 24, 2021):

Updated as I think I have a reproduction case now

@Nosamdaman commented on GitHub (Sep 24, 2021): Updated as I think I have a reproduction case now
Author
Owner

@Nosamdaman commented on GitHub (Nov 22, 2021):

Updated with a better reproduction example

@Nosamdaman commented on GitHub (Nov 22, 2021): Updated with a better reproduction example
Author
Owner

@DHowett commented on GitHub (Nov 22, 2021):

Thanks, this is really helpful. I'm betting that when we added the new version of UpdateFont that took font features, we didn't consistently call it in all scenarios (like DPI change!). /cc @PankajBhojwani

@DHowett commented on GitHub (Nov 22, 2021): Thanks, this is really helpful. I'm betting that when we added the new version of `UpdateFont` that took font features, we didn't consistently call it in all scenarios (like DPI change!). /cc @PankajBhojwani
Author
Owner

@ghost commented on GitHub (Mar 25, 2022):

:tada:This issue was addressed in #12492, which has now been successfully released as Windows Terminal v1.12.1073.🎉

Handy links:

@ghost commented on GitHub (Mar 25, 2022): :tada:This issue was addressed in #12492, which has now been successfully released as `Windows Terminal v1.12.1073`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.12.1073) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Author
Owner

@ghost commented on GitHub (Mar 25, 2022):

:tada:This issue was addressed in #12492, which has now been successfully released as Windows Terminal Preview v1.13.1073.🎉

Handy links:

@ghost commented on GitHub (Mar 25, 2022): :tada:This issue was addressed in #12492, which has now been successfully released as `Windows Terminal Preview v1.13.1073`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.13.1073) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15289