First time here? Check out the site's "greatest hits" or read a post from the archives. Feel free to leave a comment or ask a question, and consider subscribing to the latest posts via RSS or e-mail. Thanks for visiting!
« Scott Hanselman (Me) Video from the Micr... | Main | Microsoft's Paint Program Legacy - YAMPP... »

Consolasconsole

Simon Guest and I have been trying to figure out how to use our new favorite font, Consolas, as a font for the command console.

(I'm afraid I can't distribute Consolas online or provide a download out of abject fear. That said, you can find it in any version of the Longhorn bits.)

Seems you can get Consolas out of the Microsoft "Powerpoint Presentation Viewer" free of charge here, which, as a side effect, installs the new Vista fonts. Thanks to Tyler Cole for the tip.

You can add it to the list of fonts available to the console by adding it to

HKLM/Software/Microsoft/Windows NT/CurrentVersion/Console/TrueTypeFont

There is a KB article discribing how to add a font to the command prompt

In my case I added a REG_SZ with the name "00" and the value "Consolas." Then you have to REBOOT. Apparently the reboot is important otherwise you won't get the correct results and you'll see MS Sans Serif instead.

 Consolas

Tracked by:
"Adding a new console font" (Martin Plante) [Trackback]
"re: In search of the perfect programmer's font" (ISerializable) [Trackback]
"Where's Benjamin been?" (benjaminm's blog) [Trackback]
"Mr. Hughes Makes a Font" (Rich "The Hubbins" Claussen) [Trackback]
"Geek Notes 2005-07-27" (Geek Noise) [Trackback]
"Maybe this thing isn't a train wreck after all" (blog.dvhome.co.uk) [Trackback]
"Machine Repave Trials and Tribulations" (Geek Noise) [Trackback]
"Consolas" (VBASPCoder.com) [Trackback]
"Paving my machine for a fresh 2006" (ComputerZen.com - Scott Hanselman) [Trackback]
George V. Reilly's Blog [Trackback]
"Changing the Console Font" (George V. Reilly's Blog) [Trackback]
"consolas available for download" (Method ~ of ~ failed) [Trackback]
"Consolas Font Family now available for download" (ComputerZen.com - Scott Hanse... [Trackback]
"Disponibile per il download il font Consolas" (FoxyBlog) [Trackback]
"Consolas typsnitt" (Per Salmi) [Trackback]
"Disponibile per il download il font Consolas" (FoxyBlog) [Trackback]
"Consolas Font Available for Download" (The Right Stuff) [Trackback]
"Worlds Best Fixed Pitch Font Available" (Brad Wilson - The .NET Guy) [Trackback]
"Consolas font now available for download for Visual Studio 2005" (Erwyn van der... [Trackback]
"Adding Consolas to the Windows console" (It's my life... And I live it...) [Trackback]
"top 10 Tools you didn't know you had " (Van Hammond Blog!) [Trackback]
"How to: change the font of the Command Prompt to "Consolas"" (Gabriel Lozano-Mo... [Trackback]
"Consolas Monospaced Font" (Troy Sabin) [Trackback]
"Consolas Font Available for Download" (The Right Stuff) [Trackback]


Sunday, June 12, 2005 6:40:57 AM (Pacific Standard Time, UTC-08:00)
Great tip, but my font in the cmd window is always in italic. How could I avoid this behaviour?
Sunday, June 12, 2005 7:38:41 AM (Pacific Standard Time, UTC-08:00)
Personally, I've been quite pleased with the results of using a proportional-spaced font (such as Tahoma) for code. Yes, it takes a little while to get used to, but once you do, code reads a bit more like text than just code.
Sunday, June 12, 2005 9:57:46 AM (Pacific Standard Time, UTC-08:00)
Giampaolo, I had this happen to me, so I moved the Consolas fonts OUT of the Fonts folder the moved them BACK in and it was fixed.
Scott Hanselman
Monday, June 13, 2005 6:17:43 AM (Pacific Standard Time, UTC-08:00)
how about a screenshot?
Tuesday, June 14, 2005 3:06:10 PM (Pacific Standard Time, UTC-08:00)
Great! Thank you Scott, it works now (how did you find this trick of moving out the ttf from the fonts folder?? :)
Screenshot here: http://www.bellavite.com/blog/File/consolasscreen.gif
Tuesday, June 14, 2005 4:10:03 PM (Pacific Standard Time, UTC-08:00)
okay, i'm digging into my longhorn bits and don't see the font -- what is the TTF file name?
tim
Wednesday, June 15, 2005 7:44:18 AM (Pacific Standard Time, UTC-08:00)
It would be helpful to see a screenshot including the following critical characters when choosing a fixed-width font for programming:

'"`
:;.,
{}()[]<>
0Oo
Ll1Ii|

I currently use Monaco as my default fixed-width font in as many places as possible, but I'm always open to suggestions.

see http://www.lowing.org/fonts/
Tuesday, June 21, 2005 2:13:41 PM (Pacific Standard Time, UTC-08:00)
I noticed in your registry some settings for international charaters. Do you know if Consolas or any other monospaced font will support a full unicode set?
Tuesday, June 21, 2005 2:18:53 PM (Pacific Standard Time, UTC-08:00)
I believe it depends on the font. According to CharMap.exe, Consolas goes up to U+FB02
Wednesday, July 06, 2005 11:05:38 AM (Pacific Standard Time, UTC-08:00)
I wonder how long it will be before someone from Argentina (Kzu?) will blog about what Consolas means in colloquial Argentinian? :)
Tuesday, July 26, 2005 7:47:52 PM (Pacific Standard Time, UTC-08:00)
You asked for it :o) http://weblogs.asp.net/cazzu/posts/LonhornPorno.aspx
Comments are closed.

Contact

Sponsors

Hosting By

On this page...

Tags

Calendar

<October 2008>
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

Archives

Google Ads