Modify or add the font

  
in CMD under Windows7

Today, I accidentally adjusted the window size of vim. I don’t know how to make it worse. The original font in cmd is not high, only the dot matrix font is left. And the new Song body, too sad, really do not have the mood to face this font to write code

online people say a lot, but only one solution is to modify the registry (I do not know the classmates can Going to Google to "keywords like "adding font to cmd"), adding the fonts used by console, this method is not wrong, but I tried it for countless times, but I didn't do anything about the new Song. Later I guessed it. May be a language problem, my cmd is Chinese code, and then those good-looking English fonts will not work. However, the property dialog box in the upper left corner of cmd does not provide an option to modify the character encoding. It just shows up and can't be changed.

The solution is still discovered by me. Right click on the shortcut of the command prompt, which can be changed to English code, then adjust the font in the property dialog box in the upper left corner of the cmd window. Then you The fonts added in the registry are all out

Khan. . . Small fonts cost me a long time

By the way, my favorite code to write code is the default Monaco on Mac. If it is Ubuntu, I will adjust it to italic. It is too oblique in windows. Just use it now

Copyright © Windows knowledge All Rights Reserved