SetCurrentConsoleFontEx isn't working for long font names
问题 I can't get this to work for font names that are 16 characters or longer, but the console itself obviously doesn't have this limitation. Does anyone know a programmatic way to set the font that will work with the built-in "Lucida Sans Typewriter" or the open source "Fira Code Retina"? This following code works: I have copied PInvoke code from various places, particularly the PowerShell console host, and the Microsoft Docs Note that the relevant docs for CONSOLE_FONT_INFOEX and