Implementing the console font table
hugh.mcmaster at outlook.com
Thu Oct 15 00:11:25 CDT 2015
On Wednesday, 14 Oct 2015 21:39:17 +0900, Alexandre Julliard wrote:
> Hugh McMaster writes:
>> It seems to me that we could simply use the registry font size as index 0 and add any new font sizes selected by the user to the array later.
> Do you have an app that depends on this? Otherwise you can probably
> pretend that the current font is the only one in the table.
I've never seen a program do more than call GetCurrentConsoleFont and GetConsoleFontSize to get the active font size.
So, I'll go with your idea and pretend that the active font is the only entry in the table.
If this ever becomes a problem, it looks like we should be able to use EnumFontFamiliesEx to determine some basic font sizes supported by the active console font.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wine-devel