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.

Cause

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

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:

http://support.microsoft.com/contactus/?ws=supportNote 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 packFor 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 2008For 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 name

File version

File size

Date

Time

Platform

Presentationframework.dll

3.0.6920.4041

5,279,744

18-Jul- 2011

11:01

x86

Windowsbase.dll

3.0.6920.4041

1,253,376

18-Jul- 2011

11:01

x86

Presentationcore.dll

3.0.6920.4041

4,218,880

18-Jul-2011

11:01

x86

Presentationfontcache.exe.config

Not Applicable

161

12-Aug-2010

14:29

Not Applicable

Wpfgfx_v0300.dll

3.0.6920.4037

1,736,536

19-Nov- 2010

10:43

x86

System.printing.dll

3.0.6920.4041

368,640

18-Jul- 2011

11:01

x86

Presentationframework.dll

3.0.6920.4041

5,279,744

18-Jul- 2011

11:01

x86

Presentationhostdll.dll

3.0.6920.4041

130,408

18-Jul- 2011

11:01

x86

Windowsbase.dll

3.0.6920.4041

1,253,376

18-Jul-2011

11:01

x86

For all x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2

File name

File version

File size

Date

Time

Platform

Presentationcore.dll

3.0.6920.4041

3,998,208

18-Jul- 2011

11:00

x64

Presentationfontcache.exe.config

Not Applicable

161

12-Aug-2010

14:12

Not Applicable

Wpfgfx_v0300.dll

3.0.6920.4037

2,255,192

19-Nov-2010

10:43

x64

System.printing.dll

3.0.6920.4041

357,888

18-Jul- 2011

11:00

x64

Presentationframework.dll

3.0.6920.4041

4,636,672

18-Jul- 2011

11:00

x86

Presentationhostdll.dll

3.0.6920.4041

171,368

18-Jul- 2011

11:00

x64

Windowsbase.dll

3.0.6920.4041

1,114,112

18-Jul- 2011

11:00

x86

Presentationframework.dll

3.0.6920.4041

5,279,744

18-Jul- 2011

11:01

x86

Windowsbase.dll

3.0.6920.4041

1,253,376

18-Jul- 2011

11:01

x86

Presentationcore.dll

3.0.6920.4041

4,218,880

18-Jul-2011

11:01

x86

Presentationfontcache.exe.config

Not Applicable

161

12-Aug-2010

14:29

Not Applicable

Wpfgfx_v0300.dll

3.0.6920.4037

1,736,536

19-Nov- 2010

10:43

x86

System.printing.dll

3.0.6920.4041

368,640

18-Jul- 2011

11:01

x86

Presentationframework.dll

3.0.6920.4041

5,279,744

18-Jul- 2011

11:01

x86

Presentationhostdll.dll

3.0.6920.4041

130,408

18-Jul- 2011

11:01

x86

Windowsbase.dll

3.0.6920.4041

1,253,376

18-Jul-2011

11:01

x86

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 name

File version

File size

Date

Time

Platform

Presentationframework.dll

3.0.6920.4041

5,279,744

15-Jul- 2011

22:32

x86

Windowsbase.dll

3.0.6920.4041

1,253,376

15-Jul- 2011

22:32

x86

Presentationcore.dll

3.0.6920.4041

4,218,880

15-Jul-2011

22:32

x86

Presentationfontcache.exe.config

Not Applicable

161

10-Jun-2009

21:14

Not Applicable

Wpfgfx_v0300.dll

3.0.6920.4040

1,736,536

18-May- 2011

23:28

x86

System.printing.dll

3.0.6920.4041

368,640

15-Jul- 2011

22:32

x86

Presentationframework.dll

3.0.6920.4041

5,279,744

15-Jul- 2011

22:32

x86

Presentationhostdll.dll

3.0.6920.4041

130,408

15-Jul- 2011

22:32

x86

Windowsbase.dll

3.0.6920.4041

1,253,376

15-Jul-2011

22:32

x86

For all x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Presentationcore.dll

3.0.6920.4041

3,998,208

15-Jul- 2011

22:30

x64

Presentationfontcache.exe.config

Not Applicable

161

10-Jun-2009

20:30

Not Applicable

Wpfgfx_v0300.dll

3.0.6920.4040

2,255,192

18-May-2011

23:22

x64

System.printing.dll

3.0.6920.4041

357,888

15-Jul- 2011

22:30

x64

Presentationframework.dll

3.0.6920.4041

4,636,672

15-Jul- 2011

22:30

x86

Presentationhostdll.dll

3.0.6920.4041

171,368

15-Jul- 2011

22:30

x64

Windowsbase.dll

3.0.6920.4041

1,114,112

15-Jul- 2011

22:30

x86

Presentationframework.dll

3.0.6920.4041

5,279,744

15-Jul- 2011

22:32

x86

Windowsbase.dll

3.0.6920.4041

1,253,376

15-Jul- 2011

22:32

x86

Presentationcore.dll

3.0.6920.4041

4,218,880

15-Jul-2011

22:32

x86

Presentationfontcache.exe.config

Not Applicable

161

10-Jun-2009

21:14

Not Applicable

Wpfgfx_v0300.dll

3.0.6920.4040

1,736,536

18-May- 2011

23:28

x86

System.printing.dll

3.0.6920.4041

368,640

15-Jul- 2011

22:32

x86

Presentationframework.dll

3.0.6920.4041

5,279,744

15-Jul- 2011

22:32

x86

Presentationhostdll.dll

3.0.6920.4041

130,408

15-Jul- 2011

22:32

x86

Windowsbase.dll

3.0.6920.4041

1,253,376

15-Jul-2011

22:32

x86

For all x86-based versions of Windows 7 SP1

File name

File version

File size

Date

Time

Platform

Presentationframework.dll

3.0.6920.4041

5,279,744

18-Jul- 2011

22:38

x86

Windowsbase.dll

3.0.6920.4041

1,253,376

18-Jul- 2011

22:38

x86

Presentationcore.dll

3.0.6920.4041

4,218,880

18-Jul-2011

22:38

x86

Presentationfontcache.exe.config

Not Applicable

161

10-Jun-2009

21:14

Not Applicable

Wpfgfx_v0300.dll

3.0.6920.4040

1,736,536

20-May- 2011

06:10

x86

System.printing.dll

3.0.6920.4041

368,640

18-Jul- 2011

22:38

x86

Presentationframework.dll

3.0.6920.4041

5,279,744

18-Jul- 2011

22:38

x86

Presentationhostdll.dll

3.0.6920.4041

130,408

18-Jul- 2011

22:38

x86

Windowsbase.dll

3.0.6920.4041

1,253,376

18-Jul-2011

22:38

x86

For all x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1

File name

File version

File size

Date

Time

Platform

Presentationcore.dll

3.0.6920.4041

3,998,208

18-Jul- 2011

22:33

x64

Presentationfontcache.exe.config

Not Applicable

161

10-Jun-2009

20:30

Not Applicable

Wpfgfx_v0300.dll

3.0.6920.4040

2,255,192

20-May-2011

06:04

x64

System.printing.dll

3.0.6920.4041

357,888

18-Jul- 2011

22:33

x64

Presentationframework.dll

3.0.6920.4041

4,636,672

18-Jul- 2011

22:33

x86

Presentationhostdll.dll

3.0.6920.4041

171,368

18-Jul- 2011

22:33

x64

Windowsbase.dll

3.0.6920.4041

1,114,112

18-Jul-2011

22:33

x86

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 name

X86_presentationcore_31bf3856ad364e35_6.0.6002.22681_none_ae4bb10ca6782081.manifest

File version

Not Applicable

File size

9,655

Date (UTC)

18-Jul-2011

Time (UTC)

15:40

File name

X86_system.printing_31bf3856ad364e35_6.0.6002.22681_none_755b018a8ca024ac.manifest

File version

Not Applicable

File size

3,229

Date (UTC)

18-Jul- 2011

Time (UTC)

15:47

File name

X86_wpf- presentationframework_31bf3856ad364e35_6.0.6002.22681_none_70a0fad36c7a3eae.manifest

File version

Not Applicable

File size

5,589

Date (UTC)

18-Jul-2011

Time (UTC)

15:42

File name

X86_wpf-presentationhostdll_31bf3856ad364e35_6.0.6002.22681_none_72260c06368312cc.manifest

File version

Not Applicable

File size

9,557

Date (UTC)

18-Jul-2011

Time (UTC)

15:43

File name

X86_wpf-windowsbase_31bf3856ad364e35_6.0.6002.22681_none_5987abb15e49f684.manifest

File version

Not Applicable

File size

10,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 name

Amd64_presentationcore_31bf3856ad364e35_6.0.6002.22681_none_0a6a4c905ed591b7.manifest

File version

Not Applicable

File size

9,413

Date (UTC)

18-Jul-2011

Time (UTC)

15:51

File name

Amd64_system.printing_31bf3856ad364e35_6.0.6002.22681_none_d1799d0e44fd95e2.manifest

File version

Not Applicable

File size

2,947

Date (UTC)

18-Jul- 2011

Time (UTC)

16:00

File name

Amd64_wpf- presentationframework_31bf3856ad364e35_6.0.6002.22681_none_ccbf965724d7afe4.manifest

File version

Not Applicable

File size

14,891

Date (UTC)

18-Jul-2011

Time (UTC)

15:52

File name

Amd64_wpf-presentationhostdll_31bf3856ad364e35_6.0.6002.22681_none_ce44a789eee08402.manifest

File version

Not Applicable

File size

9,603

Date (UTC)

18-Jul-2011

Time (UTC)

15:55

File name

Amd64_wpf-windowsbase_31bf3856ad364e35_6.0.6002.22681_none_b5a6473516a767ba.manifest

File version

Not Applicable

File size

16,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 name

X86_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_acd794d00a316172.manifest

File version

Not Applicable

File size

4,445

Date (UTC)

16-Jul-2011

Time (UTC)

04:56

File name

X86_system.printing_31bf3856ad364e35_6.1.7600.21010_none_73e6e54df059659d.manifest

File version

Not Applicable

File size

2,678

Date (UTC)

16-Jul- 2011

Time (UTC)

05:01

File name

X86_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_6f2cde96d0337f9f.manifest

File version

Not Applicable

File size

2,189

Date (UTC)

16-Jul-2011

Time (UTC)

04:57

File name

X86_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_70b1efc99a3c53bd.manifest

File version

Not Applicable

File size

2,993

Date (UTC)

16-Jul-2011

Time (UTC)

04:58

File name

X86_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_58138f74c2033775.manifest

File version

Not Applicable

File size

2,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 name

Amd64_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_08f63053c28ed2a8.manifest

File version

Not Applicable

File size

4,459

Date (UTC)

16-Jul-2011

Time (UTC)

05:50

File name

Amd64_system.printing_31bf3856ad364e35_6.1.7600.21010_none_d00580d1a8b6d6d3.manifest

File version

Not Applicable

File size

2,680

Date (UTC)

16-Jul- 2011

Time (UTC)

05:59

File name

Amd64_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_cb4b7a1a8890f0d5.manifest

File version

Not Applicable

File size

3,600

Date (UTC)

16-Jul-2011

Time (UTC)

05:53

File name

Amd64_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_ccd08b4d5299c4f3.manifest

File version

Not Applicable

File size

3,003

Date (UTC)

16-Jul-2011

Time (UTC)

05:54

File name

Amd64_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_b4322af87a60a8ab.manifest

File version

Not Applicable

File size

5,426

Additional file information for all x86-based versions of Windows 7 SP1

File name

X86_presentationcore_31bf3856ad364e35_6.1.7601.21776_none_ae833be80782d9cc.manifest

File version

Not Applicable

File size

4,445

Date (UTC)

22-Jul-2011

Time (UTC)

08:10

File name

X86_system.printing_31bf3856ad364e35_6.1.7601.21776_none_75928c65edaaddf7.manifest

File version

Not Applicable

File size

2,678

Date (UTC)

22-Jul- 2011

Time (UTC)

08:20

File name

X86_wpf- presentationframework_31bf3856ad364e35_6.1.7601.21776_none_70d885aecd84f7f9.manifest

File version

Not Applicable

File size

2,189

Date (UTC)

22-Jul-2011

Time (UTC)

08:12

File name

X86_wpf-presentationhostdll_31bf3856ad364e35_6.1.7601.21776_none_725d96e1978dcc17.manifest

File version

Not Applicable

File size

2,993

Date (UTC)

22-Jul-2011

Time (UTC)


08:14

File name

X86_wpf-windowsbase_31bf3856ad364e35_6.1.7601.21776_none_59bf368cbf54afcf.manifest

File version

Not Applicable

File size

2,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 name

Amd64_presentationcore_31bf3856ad364e35_6.1.7601.21776_none_0aa1d76bbfe04b02.manifest

File version

Not Applicable

File size

4,459

Date (UTC)

22-Jul-2011

Time (UTC)


08:53

File name

Amd64_system.printing_31bf3856ad364e35_6.1.7601.21776_none_d1b127e9a6084f2d.manifest

File version

Not Applicable

File size

2,680

Date (UTC)

22-Jul- 2011

Time (UTC)

09:08

File name

Amd64_wpf- presentationframework_31bf3856ad364e35_6.1.7601.21776_none_ccf7213285e2692f.manifest

File version

Not Applicable

File size

3,600

Date (UTC)

22-Jul-2011

Time (UTC)

08:56

File name

Amd64_wpf-presentationhostdll_31bf3856ad364e35_6.1.7601.21776_none_ce7c32654feb3d4d.manifest

File version

Not Applicable

File size

3,003

Date (UTC)

22-Jul-2011

Time (UTC)


08:58

File name

Amd64_wpf-windowsbase_31bf3856ad364e35_6.1.7601.21776_none_b5ddd21077b22105.manifest

File version

Not Applicable

File size

5,426

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

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 name

X86_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_acd794d00a316172.manifest

File version

Not Applicable

File size

4,445

Date (UTC)

16-Jul-2011

Time (UTC)

04:56

File name

X86_system.printing_31bf3856ad364e35_6.1.7600.21010_none_73e6e54df059659d.manifest

File version

Not Applicable

File size

2,678

Date (UTC)

16-Jul- 2011

Time (UTC)

05:01

File name

X86_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_6f2cde96d0337f9f.manifest

File version

Not Applicable

File size

2,189

Date (UTC)

16-Jul-2011

Time (UTC)

04:57

File name

X86_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_70b1efc99a3c53bd.manifest

File version

Not Applicable

File size

2,993

Date (UTC)

16-Jul-2011

Time (UTC)

04:58

File name

X86_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_58138f74c2033775.manifest

File version

Not Applicable

File size

2,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 name

Amd64_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_08f63053c28ed2a8.manifest

File version

Not Applicable

File size

4,459

Date (UTC)

16-Jul-2011

Time (UTC)

05:50

File name

Amd64_system.printing_31bf3856ad364e35_6.1.7600.21010_none_d00580d1a8b6d6d3.manifest

File version

Not Applicable

File size

2,680

Date (UTC)

16-Jul- 2011

Time (UTC)

05:59

File name

Amd64_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_cb4b7a1a8890f0d5.manifest

File version

Not Applicable

File size

3,600

Date (UTC)

16-Jul-2011

Time (UTC)

05:53

File name

Amd64_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_ccd08b4d5299c4f3.manifest

File version

Not Applicable

File size

3,003

Date (UTC)

16-Jul-2011

Time (UTC)

05:54

File name

Amd64_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_b4322af87a60a8ab.manifest

File version

Not Applicable

File size

5,426

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×