Skip to content

Changing font ligature settings may not apply them #5455

@Tyriar

Description

@Tyriar

VS Code issue: microsoft/vscode#255152


  • VS Code Version: 1.101.2
  • OS Version: Windows 11 24H2

Steps to Reproduce:

  1. Close all terminals.
  2. Set terminal.integrated.fontLigatures.enabled to true.
  3. Set terminal.integrated.fontLigatures.featureSettings such that characters look different (e.g. "'liga' 1, 'zero' 1").
  4. Open a new terminal and run a program that outputs some text. The appearance of the outputted characters should be affected by the feature settings mentioned above.

Below is a screenshot demonstrating how this bug occurs. The font used in the terminal is JetBrains Mono, and the number 0 looks different (slashed) when font feature zero is set to on.

Image

Note that switching zero off and then on again makes the character 0 look as expected.

Definitely looks like something is wrong:

Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions