Fix for: Paint.NET Text/Font crashes after installing Windows Update KB2505438

I’ve been getting numerous crash reports that Paint.NET’s text tool does not work, or that the font list only includes a few usable fonts. These are actually caused by the same thing, which is a recent Windows Update that went out affecting Direct2D and DirectWrite. The update in question is KB2505438, “Slow performance in applications that use the DirectWrite API on a computer that is running Windows 7 or Windows Server 2008 R2.”

The update contains a newer version of d2d1.dll (Direct2D) and dwrite.dll (DirectWrite), but for some reason only the newer version of d2d1.dll is being loaded by Paint.NET. I’m still trying to figure out why this is happening and what the ultimate fix should be, but in the meantime I have determined several different ways that you can fix this by yourself.

Windows 7 and Windows Server 2008 R2 are affected by this, both 32-bit x86 and 64-bit x64. Windows XP is not affected, since it only has GDI for text rendering. I have a report (see comments below) that this affects Windows Vista, and I also have a fix (see below).

Here’s the fix:

If you’re seeing this problem, you can choose from one of the following fixes, depending on which version of Windows you’re using:

Windows Vista or Windows Server 2008:

  1. Install the “Platform Update Supplement,” which you can get via Windows Update, or you can download it from Microsoft.
  2. or install Internet Explorer 9, which you can download from Microsoft. (I think it’s available via Windows Update, too.)

Windows 7 or Windows Server 2008 R2:

  1. Install Windows Update KB2454826, which you can get via Windows Update, or go download it from Microsoft.
  2. or uninstall the offending update, KB2505438. To do this, you should:
    1. Open the “Programs and Features” control panel.
    2. On the left pane of the window, click on the “View installed updates” link.
    3. Find the update titled “Update for Microsoft Windows (KB2505438)”. (you can type KB2505438 in the search box at the top right, which makes this much easier)
    4. Right click on it, and then click Uninstall.
  3. or install Service Pack 1 for Windows 7. This is something you can do with the Windows Update applet, or you can download it from Microsoft.
  4. or install Internet Explorer 9. You can also get this via Windows Update, or just go and download it from Microsoft. 

My personal preference is that everyone have the latest versions of everything, so I recommend both fix #3 and fix #4. However, if you can’t/won’t install SP1 or IE9, then the first option works just fine too. Windows 7 SP1 and Internet Explorer 9 both contain updated DLLs for Direct2D and DirectWrite which do not cause this problem.

The few usable fonts in this situation are all the bitmap fonts such as Courier and Fixedsys. These are rendered using GDI, not DirectWrite, so that is why they work.

I’m currently talking with some folks at Microsoft to figure out what else can be done so that a manual fix isn’t necessary. This may involve a new update to Paint.NET, or something else. (edit: new fixes have surfaced, see the new #1 for Win7 above, and the options for Vista users, also above)

If you’re interested, the forum thread discussing this is here: http://forums.getpaint.net/index.php?/topic/21240-paintnet-not-recognizing-fonts-crashing-text-tool/

Hope this helps.

Edit on 2011-03-24: Added details on KB2454826 for Windows 7/Server 2008 R2, and fixes for Windows Vista/Server 2008.

Advertisement

12 thoughts on “Fix for: Paint.NET Text/Font crashes after installing Windows Update KB2505438

  1. R says:

    This happens in vista. I don’t see a text tool now and I’m using vista. So vista is also affected.

  2. John Dangerbrooks says:

    Well, please tell us what’s happening when you discovered. Thanks in advance.

    P.S. Has anybody reported that Paint.NET does not properly support Right-to-left texts like Hebrew?

    • Rick Brewster says:

      Looks like the update is no longer being pushed out via Windows Update. On the KB page, http://support.microsoft.com/kb/2505438 , it also now says:
      Known Issue
      After you install KB2505438, applications that render text by using DirectWrite may encounter errors, including application crashes. This is because the hotfix package does not contain an updated version of another driver. The hotfix package that is described in KB2454826 contains the updated version of this driver.

      To resolve this issue, install Windows 7 Service Pack 1 (SP1) or KB2454826 on the computer.

  3. bastah says:

    Hi, I’ve been using paint.net for 2 years now, and i must say it is one of the greatest tool ever made for graphic editing. kudos to the development team!

    Recently I’ve changed to windows 7, and i noticed there’s a significant lag when using paint.net and wacom bamboo fun tablet. whenever paint.net detects the pen input, it lags for a second before it recognizes the input. on winxp, there was no such problem. Is there a fix for this issue in win7?

    I use paint.net extensively for my pixel art sprite based game project: http://www.youtube.com/watch?v=1OUrXx5-pEE

Comments are closed.