-
I've been considering windows terminal for years, but the inability of it to provide sharp text like cmd.exe was a non-starter. In the latest version (1.23.250314002-preview) it seems the terminal is now very close, but still not there. The row height (line height) is now aligned with conhost when using The conhost font seems to make an optimal trade-off between readable text and wasted screen real-estate, and it would be great if this same ergonomic could be obtained in Windows Terminal as well. Question: Is there anything in the System details:
Below are two screenshots comparing Windows Terminal and conhost cmd.exe side by side, to make this rendering issue clear. The second screenshot is a zoomed in view from photoshop with the 1-pixel glyph size difference framed.
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema-preview",
"actions": [],
"copyFormatting": "none",
"copyOnSelect": false,
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"keybindings":
[
{
"id": "Terminal.CopyToClipboard",
"keys": "ctrl+c"
},
{
"id": "Terminal.PasteFromClipboard",
"keys": "ctrl+v"
},
{
"id": "Terminal.DuplicatePaneAuto",
"keys": "alt+shift+d"
}
],
"newTabMenu":
[
{
"type": "remainingProfiles"
}
],
"profiles":
{
"defaults": { "antialiasingMode": "cleartype" },
"list":
[
{
"commandline": "%SystemRoot%\\System32\\cmd.exe",
"font":
{
"face": "Consolas",
"size": 10
},
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"hidden": false,
"name": "Command Prompt"
}
]
},
"schemes": [],
"themes": []
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for asking! This is a topic near and dear to Leonard! It's currently Sunday, so I'm not able to write up a more comprehensive reply... but I did want to point out one thing: The colored pixels you are seeing on every stroke of every glyph is ClearType. Grayscale antialiasing would not use colors, but rather shades of gray. Aliased rendering would not use either. :) |
Beta Was this translation helpful? Give feedback.
I wrote about this topic in this issue here: #14165 (comment)
Edit: It seems you already found that comment before.
tl;dr: First, enable ClearType in the advanced settings of the default profile. Then, to convert Consolas font sizes in conhost into font sizes in Windows Terminal, divide the size by 1.561197917. For instance, the default conhost size 16 is 10.248540448 in Windows Terminal. This should then match almost perfectly.