There is a key in the registry that has the list of fonts for the console:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFontThere are entries there already, and the value names consist of all zeros. So, you just need to add a new value with a unique, all-zeros name and set the value to the name of the font you want to use. Easy!
Caveats:
- This may not work with every font.
- It must be a monospace font, and even some of those will not always work.
- It may also be that it works some of the time. For example, on my machine, I added Courier New, but the console window will only used it when certain sizes are selected. Otherwise, it falls back to Consolas or the default raster font.
No comments:
Post a Comment