Skip to content

Italic text is rendered incorrectly and looks weird #14094

@zhang-stephen

Description

@zhang-stephen

Windows Terminal version

1.16.2641.0

Windows build number

windows 21H2 enterprise 19044.1889

Other Software

  • GNU bash 4.2.46(2)-release, x86_64-redhat-linux-gnu
  • tmux 3.1a, with $TERM=xterm-256color
  • CentOS 7.9 x64, login by openSSH integrated in windows
  • Font: FiraCode NF Retina with NERD font patch.

Steps to reproduce

login the CentOS, and run tmux, then run these following commands:

echo -e "ABCDEFGHIJKLMNOPQRSTUVWXYZ \e[3mABCDEFGHIJKLMNOPQRSTUVWXYZ\e[0m"
echo -e "abcdefghijklmnopqrstuvwxyz \e[3mabcdefghijklmnopqrstuvwxyz\e[0m"
echo -e "0123456789,./<>?;'[]:{}-=_+*&^%$#@!()| \e[3m0123456789,./<>?;'[]:{}-=_+*&^%$#@!()|\e[0m"

The configuration for the SSH session:

{
    "adjustIndistinguishableColors": "indexed",
    "antialiasingMode": "grayscale",
    "backgroundImage": null,
    "closeOnExit": "always",
    "colorScheme": "Campbell",
    "commandline": "ssh p8zhang@<host>",
    "cursorShape": "underscore",
    "font":
    {
        "face": "FiraCode NF Retina",
        "size": 11.0
    },
    "guid": "{6c5275a4-b63e-46ce-a2eb-e3ea1f73666f}",
    "hidden": false,
    "historySize": 100001,
    "intenseTextStyle": "bright",
    "opacity": 85,
    "padding": "8",
    "useAcrylic": true,
    "useAtlasEngine": true
}

I guessed this issue is related to the new Atlas Engine, but there would be nothing changed if I turned off it.

Expected Behavior

No response

Actual Behavior

You will get these WEIRD italics:
image

And this issue could be reproduced in the PowerShell 7.2.6, with the almost same configuration of the SSH session.
Just run "$($PSStyle.italic)ABCDEFGHIJKLMNOPQRSTUVWXYZ", you will got the similar result:
image

Metadata

Metadata

Assignees

Labels

Area-AtlasEngineIn-PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.Priority-2A description (P2)Product-TerminalThe new Windows Terminal.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions