An application that uses the RichTextBox control cannot display an .rtf file correctly in Windows 7 or in Windows Server 2008 R2

Applies to: Windows 7 EnterpriseWindows 7 Home BasicWindows 7 Home Premium

Symptoms


Consider the following scenario:
  • You have a computer that is running Windows 7 or Windows Server 2008 R2.
  • You have an .rtf file that contains both a font that has a long font name in the Font table and an alternative font that is specified in the Font table.
  • You run an application that uses the RichTextBox control that is provided by Msftedit.dll to open the .rtf file. For example, you run WordPad to open the .rtf file.
In this scenario, the application cannot display the .rtf file correctly.

Note To create a sample test file, paste the following lines in Notepad, and then save the file as an .rtf file.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}
{\f43\froman\fcharset163\fprq2{\*\panose 00000000000000000000}Times New Roman CYR (Vietnamese{\*\falt Times New Roman};}
}
{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\f0\fs20 hello there... this is a sample document\par
\par
}

Resolution


Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 Service Pack 1 (SP1)
For more information about how to obtain a Windows 7 or a Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
File nameFile versionFile sizeDateTimePlatform
Msftedit.dll5.41.21.2511592,38409-Feb-201106:44x86
Msftedit.dll5.41.21.2511592,38409-Feb-201107:53x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Msftedit.dll5.41.21.2511799,74409-Feb-201106:13x64
Msftedit.dll5.41.21.2511799,74409-Feb-201107:54x64
For all supported IA-64-based versions of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Msftedit.dll5.41.21.25111,730,04809-Feb-201105:12IA-64
Msftedit.dll5.41.21.25111,730,04809-Feb-201105:14IA-64

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

For more information about the RichTextBox class, visit the following Microsoft Developer Network (MSDN) website:For more information about Rich Edit controls, visit the following Microsoft Developer Network (MSDN) website:For more information about the Font table, visit the following Microsoft Developer Network (MSDN) website:

Additional file information

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
File nameUpdate.mum
File versionNot applicable
File size2,773
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameX86_3f5793cf25e1426068f2f0b832b22b88_31bf3856ad364e35_6.1.7601.21657_none_57dd4e2e91d2a66d.manifest
File versionNot applicable
File size696
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameX86_d4c467293b74eb7dc679aab2d4e3e487_31bf3856ad364e35_6.1.7600.20899_none_4250738bed42075f.manifest
File versionNot applicable
File size696
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameX86_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7600.20899_none_d62a24c8b1a73818.manifest
File versionNot applicable
File size2,047
Date (UTC)09-Feb-2011
Time (UTC)07:31
PlatformNot applicable
File nameX86_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7601.21657_none_d839c0eaaeaf0192.manifest
File versionNot applicable
File size2,047
Date (UTC)09-Feb-2011
Time (UTC)08:31
PlatformNot applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameAmd64_3f5793cf25e1426068f2f0b832b22b88_31bf3856ad364e35_6.1.7601.21657_none_b3fbe9b24a3017a3.manifest
File versionNot applicable
File size698
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameAmd64_7481ed285b4dafde31a645d3f4c8030b_31bf3856ad364e35_6.1.7601.21657_none_a12938dfb504771e.manifest
File versionNot applicable
File size700
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameAmd64_8821a26694aa15f8218f0c21fc31bf5d_31bf3856ad364e35_6.1.7600.20899_none_a23f5c008a4f18cf.manifest
File versionNot applicable
File size700
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameAmd64_bfcd36ca0d0ff4b374aff805e9070981_31bf3856ad364e35_6.1.7601.21657_none_354e35c5f45331fc.manifest
File versionNot applicable
File size1,040
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameAmd64_d4c467293b74eb7dc679aab2d4e3e487_31bf3856ad364e35_6.1.7600.20899_none_9e6f0f0fa59f7895.manifest
File versionNot applicable
File size698
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameAmd64_f78a7d80c8ed8f781edad16da099970e_31bf3856ad364e35_6.1.7600.20899_none_80b24887ebea88f9.manifest
File versionNot applicable
File size1,040
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameAmd64_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7600.20899_none_3248c04c6a04a94e.manifest
File versionNot applicable
File size2,049
Date (UTC)09-Feb-2011
Time (UTC)08:07
PlatformNot applicable
File nameAmd64_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7601.21657_none_34585c6e670c72c8.manifest
File versionNot applicable
File size2,049
Date (UTC)09-Feb-2011
Time (UTC)09:15
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size4,059
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
File nameIa64_3f5793cf25e1426068f2f0b832b22b88_31bf3856ad364e35_6.1.7601.21657_none_57def22491d0af69.manifest
File versionNot applicable
File size697
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameIa64_8a8c1f607fce743b44d83abcb7827220_31bf3856ad364e35_6.1.7600.20899_none_88d053fe652bcdde.manifest
File versionNot applicable
File size698
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameIa64_b3e7e65825e45c9fc7943dc557bf907a_31bf3856ad364e35_6.1.7601.21657_none_c534dbd19bc672a6.manifest
File versionNot applicable
File size698
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameIa64_d4c467293b74eb7dc679aab2d4e3e487_31bf3856ad364e35_6.1.7600.20899_none_42521781ed40105b.manifest
File versionNot applicable
File size697
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable
File nameIa64_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7600.20899_none_d62bc8beb1a54114.manifest
File versionNot applicable
File size2,048
Date (UTC)09-Feb-2011
Time (UTC)08:09
PlatformNot applicable
File nameIa64_microsoft-windows-msftedit_31bf3856ad364e35_6.1.7601.21657_none_d83b64e0aead0a8e.manifest
File versionNot applicable
File size2,048
Date (UTC)09-Feb-2011
Time (UTC)09:12
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,169
Date (UTC)09-Feb-2011
Time (UTC)16:43
PlatformNot applicable