Using cleartype anti aliasing makes dark foreground invisible on light background. #7115

Open
opened 2026-01-31 00:55:31 +00:00 by claunia · 0 comments
Owner

Originally created by @alexFrankfurt on GitHub (Mar 24, 2020).

Originally assigned to: @zadjii-msft on GitHub.

Environment

Windows build number: 10.0.18363.0
Windows Terminal version: 0.10.781.0
Powershell version: 7.0.0

Steps to reproduce

Setting profile settings to following:

{
    "useAcrylic": false,
    "closeOnExit" : true,
    "colorScheme" : "Campbell",
    "guid": "{a3c89eef-1dbe-4ac1-acc5-2412499f8619}",
    "hidden": false,
    "name": "PowerShell 7",
    "commandline" : "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
    "icon" : "C:\\Program Files\\PowerShell\\7\\assets\\Powershell_av_colors.ico",
    "antialiasingMode": "grayscale",
    "cursorShape" : "bar",
    "cursorColor": "#121005",
    "fontFace" : "Consolas",
    "fontSize" : 10,
    "snapOnInput" : true,
    "historySize" : 9001
}

and theme settings to:

{
    "name" : "Campbell",

    "foreground" : "#020200",
    "background" : "#ffffff",
    "selectionBackground": "#121005",

    "black" : "#0C0C0C",
    "blue" : "#0037DA",
    "brightBlack" : "#767676",
    "brightBlue" : "#3B78FF",
    "brightCyan" : "#61D6D6",
    "brightGreen" : "#16C60C",
    "brightPurple" : "#B4009E",
    "brightRed" : "#E74856",
    "brightWhite" : "#121212",
    "brightYellow" : "#3B78FF",
    "cyan" : "#3A96DD",
    "green" : "#13A10E",
    "purple" : "#881798",
    "red" : "#C50F1F",
    "white" : "#CCCCCC",
    "yellow" : "#C19C00"
}

Expected behavior

Black text F:\> is visible. When antialiasingMode is set to cleartype.

Actual behavior

Black text F:\> is invisible after setting antialiasingMode to cleartype (on the right):
image
Same issue with cmd ("acrylicOpacity" : 0.75):
image

Originally created by @alexFrankfurt on GitHub (Mar 24, 2020). Originally assigned to: @zadjii-msft on GitHub. # Environment ```none Windows build number: 10.0.18363.0 Windows Terminal version: 0.10.781.0 Powershell version: 7.0.0 ``` # Steps to reproduce Setting profile settings to following: ```json { "useAcrylic": false, "closeOnExit" : true, "colorScheme" : "Campbell", "guid": "{a3c89eef-1dbe-4ac1-acc5-2412499f8619}", "hidden": false, "name": "PowerShell 7", "commandline" : "C:\\Program Files\\PowerShell\\7\\pwsh.exe", "icon" : "C:\\Program Files\\PowerShell\\7\\assets\\Powershell_av_colors.ico", "antialiasingMode": "grayscale", "cursorShape" : "bar", "cursorColor": "#121005", "fontFace" : "Consolas", "fontSize" : 10, "snapOnInput" : true, "historySize" : 9001 } ``` and theme settings to: ```json { "name" : "Campbell", "foreground" : "#020200", "background" : "#ffffff", "selectionBackground": "#121005", "black" : "#0C0C0C", "blue" : "#0037DA", "brightBlack" : "#767676", "brightBlue" : "#3B78FF", "brightCyan" : "#61D6D6", "brightGreen" : "#16C60C", "brightPurple" : "#B4009E", "brightRed" : "#E74856", "brightWhite" : "#121212", "brightYellow" : "#3B78FF", "cyan" : "#3A96DD", "green" : "#13A10E", "purple" : "#881798", "red" : "#C50F1F", "white" : "#CCCCCC", "yellow" : "#C19C00" } ``` # Expected behavior Black text `F:\>` is visible. When antialiasingMode is set to cleartype. # Actual behavior Black text `F:\>` is invisible after setting antialiasingMode to cleartype (on the right): ![image](https://user-images.githubusercontent.com/11091671/77416329-cbeca780-6dd4-11ea-9e17-eb7ed07ef51b.png) Same issue with cmd ("acrylicOpacity" : 0.75): ![image](https://user-images.githubusercontent.com/11091671/77418748-626e9800-6dd8-11ea-9e9e-e4ff4b8b1dc8.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7115