In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to add custom fonts to the command prompt in Windows 10, the editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article.
We all regularly use the Windows command prompt to resolve system problems, run batch files, and perform advanced management functions. When you use the Command shell window frequently, you may find that the default font does not suit your preferences, and you may want to change the font at the command prompt for better readability.
However, the customization scope of the Windows command prompt is limited. Although you can make a few customizations to the command prompt user interface, such as adding transparency, changing colors, etc., it still looks like the old DOS interface, with limited flexibility to customize according to user preferences. Also, the command line interpreter application has little choice of changing fonts. Depending on the Windows version, font selection is limited to between 2 and 7.
Although adding custom fonts and changing fonts at the Windows command prompt are not provided directly, you can now add custom fonts to the command prompt by using the registry.
In this article, we will explain how to add custom fonts to the command prompt in Win10. Before you begin, however, it is important to note that the Windows command prompt can only support fonts of equal width. Equal width fonts are fixed width fonts, in which spacing and letters occupy the same width, in contrast to variable width fonts. It is worth mentioning that equal-width fonts are very useful for writing computer program source code. The fixed width of characters helps programmers track special strings in program code. After finding the appropriate equal width font, the user can enable the custom font at the command prompt by adjusting the registry. Follow these steps to add a custom font to the command prompt.
Find and install the appropriate equal width font
There are two main font choices for the Windows command prompt. It can be Lucida or Raster. To add custom fonts, fonts must be installed on the system using Web services such as FontSquirrel,Google Fonts.
As mentioned earlier, the command prompt can only recognize fonts of equal width. In addition, Microsoft specifies that the custom font you add to the command shell window must be FF_MODERN if it is a TrueType font and OEM_CHARSET if it is a font other than a TrueType font. Microsoft also adds the following condition: the font you select for the command prompt cannot have a negative An or C space, and it cannot be an italic style font.
To know whether a font works at a command prompt, you must first install the font and then try to enable it at the command prompt. Although most equal-width fonts in third-party web services can be recognized by the Windows command prompt, if the fonts are appropriate for your version of Window, you cannot predict them in advance unless you try to install them.
After finding the appropriate equal width font, download the font and install it on your Windows system.
After installing fonts, the next step is to use Registry Editor to add them to the command prompt.
Add custom fonts to the registry
The Windows operating system does not allow users to add custom fonts to the command prompt directly through the user interface. To use equal-width fonts in the command prompt, you need to first add information about the installed fonts to the registry.
Open the run box, type regedit, and then press Enter.
Next, navigate to the following path:
HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Console\ TrueTypeFont
On the right side of the registry panel, you will see a list of fonts used by the command prompt, which contains the corresponding * * name values, such as 0meme0001and so on.
To create a custom font, right-click the right side of the registry panel, and then click New.
Now select the string value and name the string value with a * number. If there is already a string value of 00, name the new string value 000. 0. Please note that the value you enter should be some * number.
Double-click the newly created string value and specify the name of the font in the value data field.
Click OK to apply the changes and restart the system.
Add custom fonts to the command prompt
Open a command prompt and right-click the title bar, and then click Properties from the drop-down menu.
Navigate to the Font tab in the Command prompt Properties window.
Under the fonts section, select the font you installed, and then click OK.
When you are done, you must be able to use the command prompt for the installed font you like. You can also change the font size for good readability.
It is worth noting that if you do not see the font in the font list in the Properties window at the command prompt, the font you selected may not be supported by the Windows version, or the font you added may not be of equal width.
This is how to add custom fonts to the command prompt in Windows 10. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.