microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
94.87k stars 8.21k forks source link

Anti-Aliasing for powerline font icons is poor when using 12 pt or lower #7260

Open unavaliabl3 opened 4 years ago

unavaliabl3 commented 4 years ago

Environment

Windows build number: 19041.388
Windows Terminal version:1.1.2021.0

Actual behavior

Icons in powerline fonts are blurred in the Windows Terminal using 12 pt or lower, therefore ,they are hardly recognizable The following sample is the Windows logo icon in Windows Terminal, Gnome Terminal on Ubuntu, and ConEmu:

~ 8_13_2020 12_16_06 AM (2) Windows Terminal, font:3270NF, size:12pt - windows logo not recognizable C__Windows 8_13_2020 12_29_29 AM Gnome Terminal, font:UbuntuMono NF, size:12pt - windows logo recognizable ~ 8_13_2020 12_16_12 AM ConEmu, font:3270NF, size:12pt - windows logo recognizable

I also tested other non-terminal software: _Untitled - Notepad 8_13_2020 12_39_35 AM notepad.exe, font:Anonymous pro NF,size:12pt - windows logo recognizable OneNote for Windows 10 8_13_2020 12_47_00 AM OneNote for W10 (100% resized), font:3270NF,size=12pt - windows logo recognizable

unavaliabl3 commented 4 years ago

~ 8_13_2020 12_59_42 AM Also in newer Windows Terminal Preview 1.1.2022.0, face=3270NF, size = 12 pt

DHowett commented 4 years ago

Thanks for the report! I wonder if there's some sort of hinting instructions we're missing.

If you change the antialiasing mode to cleartype or to grayscale (if you're using cleartype), does it help?

unavaliabl3 commented 4 years ago

I am using cleartype in above screenshots. Grayscale doesn't help. The powerline icons are still blurry image Windows Terminal,version:1.1.2233.0,font:3270NF,antialiasing:grayscale, size:12pt - not recognizable