Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: The text of an XPS document is printed in a different font when you use the XpsDocumentWriter class in a Windows Presentation Foundation application that targets to the .NET Framework 3.5 Service Pack 1


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You use the XpsDocumentWriter class in a Windows Presentation Foundation (WPF) application that targets to the Microsoft .NET Framework 3.5 Service Pack 1 (SP1).
  • You print an XML Paper Specification (XPS) document that contains the MS Gothic font.
In this scenario, the text in the printed file uses a different font, such as a Chinese font.

↑ Back to the top


Cause

This problem occurs because of a problem in the matching logic of the GDI font selection API.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that 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 have the .NET Framework 3.5 Service Pack 1 (SP1) installed on one of the following operating systems:
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008 Service Pack 2 (SP2)
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 Service Pack 1 (SP1)
Note The .NET Framework 3.5 SP1 contains the .NET Framework 3.0 Service Pack 2 (SP2).

For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
968849 How to obtain the latest service pack for Windows Server 2008
For more information about how to obtain a Windows 7 or 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

Restart information

You may have to restart the computer after you install this hotfix if the affected files are being used. We recommend that you close all .NET Framework applications before you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English (United States) 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.




File information for Windows Vista and for Windows Server 2008

For all x86-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Presentationframework.dll3.0.6920.40415,279,74418-Jul- 201111:01x86
Windowsbase.dll3.0.6920.40411,253,37618-Jul- 201111:01x86
Presentationcore.dll3.0.6920.40414,218,88018-Jul-201111:01x86
Presentationfontcache.exe.configNot Applicable16112-Aug-201014:29Not Applicable
Wpfgfx_v0300.dll3.0.6920.40371,736,53619-Nov- 201010:43x86
System.printing.dll3.0.6920.4041368,64018-Jul- 201111:01x86
Presentationframework.dll3.0.6920.40415,279,74418-Jul- 201111:01x86
Presentationhostdll.dll3.0.6920.4041130,40818-Jul- 201111:01x86
Windowsbase.dll3.0.6920.40411,253,37618-Jul-201111:01x86
For all x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Presentationcore.dll3.0.6920.40413,998,20818-Jul- 201111:00x64
Presentationfontcache.exe.configNot Applicable16112-Aug-201014:12Not Applicable
Wpfgfx_v0300.dll3.0.6920.40372,255,19219-Nov-201010:43x64
System.printing.dll3.0.6920.4041357,88818-Jul- 201111:00x64
Presentationframework.dll3.0.6920.40414,636,67218-Jul- 201111:00x86
Presentationhostdll.dll3.0.6920.4041171,36818-Jul- 201111:00x64
Windowsbase.dll3.0.6920.40411,114,11218-Jul- 201111:00x86
Presentationframework.dll3.0.6920.40415,279,74418-Jul- 201111:01x86
Windowsbase.dll3.0.6920.40411,253,37618-Jul- 201111:01x86
Presentationcore.dll3.0.6920.40414,218,88018-Jul-201111:01x86
Presentationfontcache.exe.configNot Applicable16112-Aug-201014:29Not Applicable
Wpfgfx_v0300.dll3.0.6920.40371,736,53619-Nov- 201010:43x86
System.printing.dll3.0.6920.4041368,64018-Jul- 201111:01x86
Presentationframework.dll3.0.6920.40415,279,74418-Jul- 201111:01x86
Presentationhostdll.dll3.0.6920.4041130,40818-Jul- 201111:01x86
Windowsbase.dll3.0.6920.40411,253,37618-Jul-201111:01x86

File information for Windows 7 and for Windows Server 2008 R2

Windows 7 and Windows Server 2008 R2 file information notes
The MANIFEST files (.manifest) that are installed for each environment are listed separately in the "Additional file information for Windows 7 and for Windows Server 2008 R2" section. MANIFEST files are extremely important to maintain the state of the updated components.
For all x86-based versions of Windows 7
File nameFile versionFile sizeDateTimePlatform
Presentationframework.dll3.0.6920.40415,279,74415-Jul- 201122:32x86
Windowsbase.dll3.0.6920.40411,253,37615-Jul- 201122:32x86
Presentationcore.dll3.0.6920.40414,218,88015-Jul-201122:32x86
Presentationfontcache.exe.configNot Applicable16110-Jun-200921:14Not Applicable
Wpfgfx_v0300.dll3.0.6920.40401,736,53618-May- 201123:28x86
System.printing.dll3.0.6920.4041368,64015-Jul- 201122:32x86
Presentationframework.dll3.0.6920.40415,279,74415-Jul- 201122:32x86
Presentationhostdll.dll3.0.6920.4041130,40815-Jul- 201122:32x86
Windowsbase.dll3.0.6920.40411,253,37615-Jul-201122:32x86
For all x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Presentationcore.dll3.0.6920.40413,998,20815-Jul- 201122:30x64
Presentationfontcache.exe.configNot Applicable16110-Jun-200920:30Not Applicable
Wpfgfx_v0300.dll3.0.6920.40402,255,19218-May-201123:22x64
System.printing.dll3.0.6920.4041357,88815-Jul- 201122:30x64
Presentationframework.dll3.0.6920.40414,636,67215-Jul- 201122:30x86
Presentationhostdll.dll3.0.6920.4041171,36815-Jul- 201122:30x64
Windowsbase.dll3.0.6920.40411,114,11215-Jul- 201122:30x86
Presentationframework.dll3.0.6920.40415,279,74415-Jul- 201122:32x86
Windowsbase.dll3.0.6920.40411,253,37615-Jul- 201122:32x86
Presentationcore.dll3.0.6920.40414,218,88015-Jul-201122:32x86
Presentationfontcache.exe.configNot Applicable16110-Jun-200921:14Not Applicable
Wpfgfx_v0300.dll3.0.6920.40401,736,53618-May- 201123:28x86
System.printing.dll3.0.6920.4041368,64015-Jul- 201122:32x86
Presentationframework.dll3.0.6920.40415,279,74415-Jul- 201122:32x86
Presentationhostdll.dll3.0.6920.4041130,40815-Jul- 201122:32x86
Windowsbase.dll3.0.6920.40411,253,37615-Jul-201122:32x86
For all x86-based versions of Windows 7 SP1
File nameFile versionFile sizeDateTimePlatform
Presentationframework.dll3.0.6920.40415,279,74418-Jul- 201122:38x86
Windowsbase.dll3.0.6920.40411,253,37618-Jul- 201122:38x86
Presentationcore.dll3.0.6920.40414,218,88018-Jul-201122:38x86
Presentationfontcache.exe.configNot Applicable16110-Jun-200921:14Not Applicable
Wpfgfx_v0300.dll3.0.6920.40401,736,53620-May- 201106:10x86
System.printing.dll3.0.6920.4041368,64018-Jul- 201122:38x86
Presentationframework.dll3.0.6920.40415,279,74418-Jul- 201122:38x86
Presentationhostdll.dll3.0.6920.4041130,40818-Jul- 201122:38x86
Windowsbase.dll3.0.6920.40411,253,37618-Jul-201122:38x86
For all x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1
File nameFile versionFile sizeDateTimePlatform
Presentationcore.dll3.0.6920.40413,998,20818-Jul- 201122:33x64
Presentationfontcache.exe.configNot Applicable16110-Jun-200920:30Not Applicable
Wpfgfx_v0300.dll3.0.6920.40402,255,19220-May-201106:04x64
System.printing.dll3.0.6920.4041357,88818-Jul- 201122:33x64
Presentationframework.dll3.0.6920.40414,636,67218-Jul- 201122:33x86
Presentationhostdll.dll3.0.6920.4041171,36818-Jul- 201122:33x64
Windowsbase.dll3.0.6920.40411,114,11218-Jul-201122:33x86

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional file information for all x86-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
File nameX86_presentationcore_31bf3856ad364e35_6.0.6002.22681_none_ae4bb10ca6782081.manifest
File versionNot Applicable
File size9,655
Date (UTC)18-Jul-2011
Time (UTC) 15:40
File nameX86_system.printing_31bf3856ad364e35_6.0.6002.22681_none_755b018a8ca024ac.manifest
File versionNot Applicable
File size3,229
Date (UTC)18-Jul- 2011
Time (UTC)15:47
File nameX86_wpf- presentationframework_31bf3856ad364e35_6.0.6002.22681_none_70a0fad36c7a3eae.manifest
File versionNot Applicable
File size5,589
Date (UTC)18-Jul-2011
Time (UTC)15:42
File nameX86_wpf-presentationhostdll_31bf3856ad364e35_6.0.6002.22681_none_72260c06368312cc.manifest
File versionNot Applicable
File size9,557
Date (UTC)18-Jul-2011
Time (UTC) 15:43
File nameX86_wpf-windowsbase_31bf3856ad364e35_6.0.6002.22681_none_5987abb15e49f684.manifest
File versionNot Applicable
File size10,546
Date (UTC)18-Jul- 2011
Time (UTC)15:46
Additional file information for all x64-based versions of Windows Vista SP2 or Windows Server 2008 SP2
File nameAmd64_presentationcore_31bf3856ad364e35_6.0.6002.22681_none_0a6a4c905ed591b7.manifest
File versionNot Applicable
File size9,413
Date (UTC)18-Jul-2011
Time (UTC) 15:51
File nameAmd64_system.printing_31bf3856ad364e35_6.0.6002.22681_none_d1799d0e44fd95e2.manifest
File versionNot Applicable
File size2,947
Date (UTC)18-Jul- 2011
Time (UTC)16:00
File nameAmd64_wpf- presentationframework_31bf3856ad364e35_6.0.6002.22681_none_ccbf965724d7afe4.manifest
File versionNot Applicable
File size14,891
Date (UTC)18-Jul-2011
Time (UTC)15:52
File nameAmd64_wpf-presentationhostdll_31bf3856ad364e35_6.0.6002.22681_none_ce44a789eee08402.manifest
File versionNot Applicable
File size9,603
Date (UTC)18-Jul-2011
Time (UTC) 15:55
File nameAmd64_wpf-windowsbase_31bf3856ad364e35_6.0.6002.22681_none_b5a6473516a767ba.manifest
File versionNot Applicable
File size16,296
Date (UTC)18-Jul- 2011
Time (UTC)15:59

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

Additional file information for all x86-based versions of Windows 7
File nameX86_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_acd794d00a316172.manifest
File versionNot Applicable
File size4,445
Date (UTC)16-Jul-2011
Time (UTC) 04:56
File nameX86_system.printing_31bf3856ad364e35_6.1.7600.21010_none_73e6e54df059659d.manifest
File versionNot Applicable
File size2,678
Date (UTC)16-Jul- 2011
Time (UTC)05:01
File nameX86_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_6f2cde96d0337f9f.manifest
File versionNot Applicable
File size2,189
Date (UTC)16-Jul-2011
Time (UTC)04:57
File nameX86_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_70b1efc99a3c53bd.manifest
File versionNot Applicable
File size2,993
Date (UTC)16-Jul-2011
Time (UTC) 04:58
File nameX86_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_58138f74c2033775.manifest
File versionNot Applicable
File size2,149
Date (UTC)16-Jul- 2011
Time (UTC)04:55
Additional file information for all x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameAmd64_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_08f63053c28ed2a8.manifest
File versionNot Applicable
File size4,459
Date (UTC)16-Jul-2011
Time (UTC) 05:50
File nameAmd64_system.printing_31bf3856ad364e35_6.1.7600.21010_none_d00580d1a8b6d6d3.manifest
File versionNot Applicable
File size2,680
Date (UTC)16-Jul- 2011
Time (UTC)05:59
File nameAmd64_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_cb4b7a1a8890f0d5.manifest
File versionNot Applicable
File size3,600
Date (UTC)16-Jul-2011
Time (UTC)05:53
File nameAmd64_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_ccd08b4d5299c4f3.manifest
File versionNot Applicable
File size3,003
Date (UTC)16-Jul-2011
Time (UTC) 05:54
File nameAmd64_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_b4322af87a60a8ab.manifest
File versionNot Applicable
File size5,426
Additional file information for all x86-based versions of Windows 7 SP1
File nameX86_presentationcore_31bf3856ad364e35_6.1.7601.21776_none_ae833be80782d9cc.manifest
File versionNot Applicable
File size4,445
Date (UTC)22-Jul-2011
Time (UTC)

08:10
File nameX86_system.printing_31bf3856ad364e35_6.1.7601.21776_none_75928c65edaaddf7.manifest
File versionNot Applicable
File size2,678
Date (UTC)22-Jul- 2011
Time (UTC)08:20
File nameX86_wpf- presentationframework_31bf3856ad364e35_6.1.7601.21776_none_70d885aecd84f7f9.manifest
File versionNot Applicable
File size2,189
Date (UTC)22-Jul-2011
Time (UTC)08:12
File nameX86_wpf-presentationhostdll_31bf3856ad364e35_6.1.7601.21776_none_725d96e1978dcc17.manifest
File versionNot Applicable
File size2,993
Date (UTC)22-Jul-2011
Time (UTC)


08:14
File nameX86_wpf-windowsbase_31bf3856ad364e35_6.1.7601.21776_none_59bf368cbf54afcf.manifest
File versionNot Applicable
File size2,149
Date (UTC)22-Jul- 2011
Time (UTC)08:18
Additional file information for all x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1
File nameAmd64_presentationcore_31bf3856ad364e35_6.1.7601.21776_none_0aa1d76bbfe04b02.manifest
File versionNot Applicable
File size4,459
Date (UTC)22-Jul-2011
Time (UTC)


08:53
File nameAmd64_system.printing_31bf3856ad364e35_6.1.7601.21776_none_d1b127e9a6084f2d.manifest
File versionNot Applicable
File size2,680
Date (UTC)22-Jul- 2011
Time (UTC)09:08
File nameAmd64_wpf- presentationframework_31bf3856ad364e35_6.1.7601.21776_none_ccf7213285e2692f.manifest
File versionNot Applicable
File size3,600
Date (UTC)22-Jul-2011
Time (UTC)08:56
File nameAmd64_wpf-presentationhostdll_31bf3856ad364e35_6.1.7601.21776_none_ce7c32654feb3d4d.manifest
File versionNot Applicable
File size3,003
Date (UTC)22-Jul-2011
Time (UTC)


08:58
File nameAmd64_wpf-windowsbase_31bf3856ad364e35_6.1.7601.21776_none_b5ddd21077b22105.manifest
File versionNot Applicable
File size5,426

↑ Back to the top


Status

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

↑ Back to the top


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

↑ Back to the top


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 nameX86_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_acd794d00a316172.manifest
File versionNot Applicable
File size4,445
Date (UTC)16-Jul-2011
Time (UTC) 04:56
File nameX86_system.printing_31bf3856ad364e35_6.1.7600.21010_none_73e6e54df059659d.manifest
File versionNot Applicable
File size2,678
Date (UTC)16-Jul- 2011
Time (UTC)05:01
File nameX86_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_6f2cde96d0337f9f.manifest
File versionNot Applicable
File size2,189
Date (UTC)16-Jul-2011
Time (UTC)04:57
File nameX86_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_70b1efc99a3c53bd.manifest
File versionNot Applicable
File size2,993
Date (UTC)16-Jul-2011
Time (UTC) 04:58
File nameX86_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_58138f74c2033775.manifest
File versionNot Applicable
File size2,149
Date (UTC)16-Jul- 2011
Time (UTC)04:55
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameAmd64_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_08f63053c28ed2a8.manifest
File versionNot Applicable
File size4,459
Date (UTC)16-Jul-2011
Time (UTC) 05:50
File nameAmd64_system.printing_31bf3856ad364e35_6.1.7600.21010_none_d00580d1a8b6d6d3.manifest
File versionNot Applicable
File size2,680
Date (UTC)16-Jul- 2011
Time (UTC)05:59
File nameAmd64_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_cb4b7a1a8890f0d5.manifest
File versionNot Applicable
File size3,600
Date (UTC)16-Jul-2011
Time (UTC)05:53
File nameAmd64_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_ccd08b4d5299c4f3.manifest
File versionNot Applicable
File size3,003
Date (UTC)16-Jul-2011
Time (UTC) 05:54
File nameAmd64_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_b4322af87a60a8ab.manifest
File versionNot Applicable
File size5,426

↑ Back to the top


Keywords: kbautohotfix, kbqfe, kbhotfixserver, kbfix, kbexpertiseinter, kbsurveynew, kbbug, kb

↑ Back to the top

Article Info
Article ID : 2566651
Revision : 2
Created on : 9/26/2018
Published on : 9/26/2018
Exists online : False
Views : 139