Home » Questions » Computers [ Ask a new question ]

Why is my PowerShell font a different size than my Visual Studio font?

Why is my PowerShell font a different size than my Visual Studio font?

Both are Consolas. I have my PowerShell font size set to 16. The dialog window tells me that this means that each character is 8 screen pixels wide and 16 screen pixels high. It looks perfect, the exact size I want it to be in Visual Studio.

Asked by: Guest | Views: 109
Total answers/comments: 1
Guest [Entry]

"As far as I can tell, it's a side effect of how the console renders fonts. Based on what I see here it looks like the console font system rasterizes characters on a very simple grid (similar to how character are in actual standard text mode).
Short answer: The console uses a different font rendering engine. Fonts look different there just like they look different on Linux or Mac.
Criteria for Console Fonts
More information on consoles can be found in the MSDN Console reference. Details on font-based functions for the console are here."