How to add Custom Fonts to Command Prompt in Windows 10

We all use the Windows Command Prompt regularly to solve the system issues, run batch files and also to perform advanced administrative functions. As you use the Command shell window frequently, you may find that the default font not to your liking, and you may want to change the font in the command prompt for better readability.

However, the Windows command prompt has limited scope for customization. While it is possible to make few customizations to the command prompt user interface, like, adding transparency, changing colors, etc., it still looks like the old DOS interface with the limited flexibility for customizing according to the user’s preference. Moreover, the command line interpreter application has very few choices for changing the font. The font selection is limited to few choices from 2 to 7 depending on the Windows version.

While there is no direct provision to add custom fonts and change the fonts in the Windows Command prompt, you can however now add custom fonts to the Command Prompt by making use of the registry.

In this article, we explain how to add the custom fonts to command prompt in Windows 10. But before we start, it is important to note that the Windows command prompt can only support monospace fonts. Monospace fonts are fixed width font where the spacings and letters occupy the same width in contrast to the variable width fonts. It is worth mentioning that, monospace fonts are extremely useful for writing computer program source code. The character’s fixed width aids programmers to keep track of special character strings in the program code. Once you have found the suitable monospace font, users can enable the custom fonts in Command Prompt by tweaking the Registry. Follow the below steps to add the custom fonts to command prompt.

Find & install a suitable monospace font

The Windows command prompt has mostly two choices for the font. It can be either Lucida or Raster. To add custom fonts, one must install a font on a system using web services like FontSquirrel, Google Fonts, and others.

As mentioned earlier, the Command Prompt will recognize only monospace fonts. Additionally, the Microsoft also specifies that the custom font you add to the command shell window must be FF_MODERN if it is TrueType font and OEM_CHARSET if it is a font other than the TrueType font. Microsoft also adds the criteria that the fonts you choose for the command prompt cannot have a negative A or C space, and it cannot be an italic style font.

To know if the font will work on the command prompt, users must first install the font and then try to enable it in the command prompt. While most of the monospaced fonts from the third party web services is recognized by Windows Command prompt, you will not be able to predict in advance, if the font works for your Window version, until and unless you try to install them.

Once you find the suitable monospace font, download the font and install it on your Windows system.

Once the font is installed, the next step is to add them to the command prompt using the registry editor.

Add the custom font to the Registry

Windows OS does not allow users to add the custom fonts to command prompt directly through the user interface. To make the monospace font available in Command prompt, you need to first add the information of the installed fonts to the registry.

Open Run box, type regedit, and press Enter.

Next, navigate to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont

In the right side of the registry panel, you will see the list of fonts that are used by command prompt with the respective unique name value like 0, 00,01, etc.

To create a custom font, right-click on the right side of the registry panel and click on New.

Now select the string value and name the string value with a unique number. If you already have a string value with 00, then name the new string value as 000. Just note that the value you enter should be some unique number.

Double-click on the newly created string value and give the name of the font in the value data field.

Click OK to apply the changes and restart your system.

Add the custom font to the Command Prompt

Open Command Prompt and right click on the title bar and click on Properties from the drop-down menu.

Navigate to the Font tab in the Command Prompt properties window.

Select the font you installed under the Font section and click on OK.

add Custom Fonts to Command Prompt

Once done you must be able to use the command prompt with your favorite installed font. One can also change the font size for good readability.

It is worth noting that, if you cannot see the font in the font list of the Properties window in Command prompt, it is likely that the font you have chosen is either not supported by your Windows version or you have added a font that is not a monospace font.

Want to make the Command Prompt transparent?

Posted by on , in Category Windows with Tags
Pavithra is a Windows enthusiast, who loves keeping abreast with the latest in the world of technology.

Leave a Reply

Your email address will not be published. Required fields are marked *

4 + 1 =