Sunday, February 1, 2009

Font 'Segoe UI' does not support style 'Regular'

I came across this error just recently.  It all started when the installation of VS 2008 on my laptop (Vista 32Bit)  seemed to fail. My symptoms were:

  1. The properties window in VS2008 would not show the properties of selected objects in the designers.  (It did show the properties of the files - only not very well).
  2. When I would click the "Show Alphabetical" icon in the properties window, Visual Studio would crash.

I did notice just in the last 2 weeks that my system fonts changed to an Italic font. I didn't understand what set this, but I did think it looked cool so I left it. (I believe the change occurred when I set the Aero colour theme).

It turns out that VS 2008 was having issues with the font Segoe UI.

I fixed this by going to the "Font and Colours" section of the Options pages and changing fonts marked as "Segoe UI" to Calibri and setting the "Environment" font to Calibri as well (From Automatic).

This seemed to have fixed the issue.

Post Update:

Since posting this article, I also found the same issue with the SQL Server Management Studio.

So I changed my fix. I reset the font and colours in VS 2008 to their defaults.  Then I changed the Segoe UI font to Calibri in the Vista system settings for Windows Colours and Appearances.  I changed the fonts for the Aero colour scheme.

Everything appears to work again.