Change command prompt font

Source: Internet
Author: User
Having used using las font for a period, I felt very comfortable with it. I 've used it in putty, Vim, Visual Studio. and I tried to use it in Windows console (cmd.exe) by following Scott's post, using LAS as the windows console font. but should las font didn't show in console's available font list. it seemed to have to do with my console code page setting, which is 936 Chinese GBK. when las was shown after I changed the console's code page to 850 with chcp command. thing was not perfect, I cocould not use Chinese Input Method under this code page in console, and Chinese characters are not displayed correctly.
As a matter of fact, there is another way to set your Las font for console through registry, which doesn't require us to change code page. Our preferences for default console are saved in Hkcu \ Console , Including console's width, height and font. subitems of this key save preperences for console with specified title. So we can modify Facename Item to force a font get applied. As shown below.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER \ console]
"Facename" = "consolas"

[HKEY_CURRENT_USER \ console \ unzip systemroot1__system32_cmd.exe]
"Facename" = "consolas"

Here is a snapshot of the font comparison:

BTW, consolas font is designed specifically for cleartype. It looks extremely poor if cleartype is not enabled. We can use cleartype tuner powertoy to fine tune cleartype under Windows XP.

References:
Necessary criteria for fonts to be available in a command window
Give your eyes a treat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.