jQuery fadeIn/fadeOut IE cleartype glitch

Thanks to Benjamin Michael Novakovic for this fix!

While using the jQuery  javascript library today at work, I noticed a glitch under IE7. When fading a html node with the .fadeIn() and .fadeOut() functions in jQuery, IE drops the windows Cleartype rendering; which results in very ugly text. This problem appears to be very common, but no one has a nice solution for the problem.

The most common way to solve this problem is by removing the filter CSS attribute. In normal javascript, it would look like this:


and in jQuery, it would look like this:

$('#node').fadeOut('slow', function() {

via Benjamin Michael Novakovic » jQuery fadeIn/fadeOut IE cleartype glitch.

Linux Console fonts for Windows

Pretty cool!

Linux console fonts for Windows

These are fixed-width fonts converted to TTF and FON format from the original X11 sources. You will recognize them as the default xterm fonts; they are widely used. They are especially useful for console apps. We programmers can’t live without them

The main problem you’ll encounter is that, some of them being FON files, they are not usable in all Windows programs. This has been a big issue for a long time but recently I added some Windows TTF format that work really well. They even work in Macintosh

via Linux Console fonts for Windows in TTF and FON.

Consolas as CMD.EXE (Windows Console) Font


First, you’ll need the Consolas font. If you’re not currently running Windows Vista, then you’ll need to get it via the PowerPoint Presentation Viewer, which will install Consolas, among other nice Vista fonts. (Or, if you have Visual Studio 2005 or 2008, you can just grab the Consolas Font Pack for Microsoft Visual Studio 2005 or 2008)

Once you have this font installed, open up Registry Editor (regedit.exe) and navigate to the following key, as shown below:

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


Then, right click in the blank area and choose New > String Value.

Double click this new value and enter the following information:

Name: 00
Data: Consolas

Your window should now look like this:


Once this is done, open a console window (cmd.exe) and choose Consolas from the Font tab:


Thanks to Scott Hanselman’s Computer Zen for the tips on how to set this up! 🙂

Update: There seems to be an easier way to do this, as I just found from the IEBlog:

Bryn Spears on the Internet Explorer team gave me the following simple instructions to turn on Consolas in the CMD Window:

reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont” /v 00 /d Consolas


Note: In Windows Vista, you need to run the reg command from an elevated command prompt.

When you log back in, Consolas will be an option in the “Command Prompt” Properties.  (n.b., Bryn tells me it actually shows up before you relog, but it won’t work.)