1. Run regedit to open Registry Editor, open the registry to navigate to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Nt\currentversion\console\ Truetypefont], you can see the TrueType font settings for the console program under Windows
* To add fonts is also very simple, in the registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Nt\currentversion\console\truetypefont] Add a string value with the name 000 and set its value to the name of the font you want to use, and if you want to add more fonts, just add a string value and name it 0000, which means add a 0. I added a font named Bitstream Vera Sans Mono, you can choose any font you want to use, and of course it has to be in the system.
The above settings are only valid in the current CMD window, and if you want to take effect globally, you also need to modify:
Hkey_current_user\console\%systemroot%_system32_cmd.exe
If there is garbled characters in Chinese. Enter commands in the current window
437
Reference:
https://my.oschina.net/aiguozhe/blog/108542
http://www.2maomao.com/blog/windows-console-font/
Http://qianduanblog.com/post/cmd-font-consolas.html
Http://www.cnblogs.com/kangflict/p/4111010.html
Windows command-line prompt/console font settings