Get current console font info
问题 I am writing an Image Viewer in C# .NET for the console. My problem is that the console font characters are not squares. And I'm treating them as pixels, this stretches the images when drawn on screen. I want to somehow read the font information about the currently used font, with width , height etc properties... I found this answer, but it seems like it just lists all the currently available fonts. I played around with this code: [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct