Wednesday, March 22, 2006

I decided to split my previous post in the hope that someone googling for this topic might actually get a straightforward answer (I certainly didn't). Visual Studio 2003 does not let you use Bitstream Vera Sans Mono by default. Instead it takes a bit of trickery to get it to work.

  1. Open Visual Studio 2003; go to Tools->Options->Environment->Fonts and Colors. You will notice that you can select either Bitstream Vera Sans or Bitstream Vera Sans Mono Bold. Select the latter like so:


  2. Click on OK and close Visual Studio 2003.
  3. Run regedit; click through to the following key: HKCU\Software\Microsoft\VisualStudio\7.1\FontAndColors\{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0} (the GUID may be different for you - there aren't many of them, just look until you find the right value name):


  4. Change the value of FontName to "Bitstream Vera Sans Mono" (without the quotes):


  5. Click on OK, close the registry editor, restart Visual Studio 2003. You're good to go!

 

Monday, April 03, 2006 8:54:01 PM (Jerusalem Standard Time, UTC+02:00)
Thankyou. Just what I was looking for.
Friday, April 07, 2006 1:22:04 PM (Jerusalem Standard Time, UTC+02:00)
If you rename the files of the Mono fonts such that the normal is first in alphabetic order, Visual Studio will show the normal one instead of Bold and no need to go to the registry.

For dummies, rename VeraMono.ttf to VeraMo.ttf before installing the fonts. If you already installed the fonts, go to C:\WINDOWS\fonts with Explorer, remove the Mono normal font, rename the original file and install it again.
Paulo
Wednesday, May 03, 2006 8:35:36 PM (Jerusalem Standard Time, UTC+02:00)
Thanks everyone, this has bugged me for ages, I've been using DejaVu Sans Mono (a tweaked version of Vera), that suffered from the same problem.

Sunday, May 14, 2006 5:21:58 PM (Jerusalem Standard Time, UTC+02:00)
Oh, and if you use DejaVu, a Bitstream Vera based font with (lots?) more unicode characters, you don't have to do anything special other that copy the font files to the font directory.

http://dejavu.sourceforge.net
Paulo
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Live Comment Preview