修复:在面向 .NET Framework 3.5 Service Pack 1 的 Windows Presentation Foundation 应用程序中使用 XpsDocumentWriter 类时,XPS 文档的文本以不同的字体打印 .NET Framework

应用对象
.NET Framework 3.5 Service Pack 1

症状

请考虑以下情形:

  • 您在面向 Microsoft .NET Framework 3.5 Service Pack 1 (SP1) 的 Windows Presentation Foundation (WPF) 应用程序中使用 XpsDocumentWriter 类。
  • 您打印包含 MS Gothic 字体 (XPS) 文档的 XML 纸张规范。

在这种情况下,打印文件中的文本使用不同的字体,如中文字体。

原因

出现此问题的原因是 GDI 字体选择 API 的匹配逻辑出现问题。

解决方法

修补程序信息

Microsoft 提供了一个受支持的修补程序。 但是,此修补程序仅用于更正本文中描述的问题。 此修补程序仅应用于出现本文所述问题的系统。 此修补程序可能还会接受进一步的测试。 因此,如果这个问题没有对你造成严重影响,建议你等待下一个包含此修补程序的软件更新。

如果该修补程序可供下载,则此知识库文章的顶部将出现“提供修补程序下载”部分。 如果此部分不存在,请联系 Microsoft 客户支持服务部门以获取该修补程序。

注意 如果发生其他问题或需要进行任何故障排除,您应该另行创建服务请求。 对于此特定修补程序无法解决的其他支持问题和事项,将照常收取支持费用。 若要获取 Microsoft 客户服务和支持部门的完整电话号码列表或另行创建服务请求,请访问以下 Microsoft 网站:

http://support.microsoft.com/contactus/?ws=support 注意 “修补程序下载可用”窗体显示了修补程序的可用语言版本。 如果您找不到需要的语言,则说明该语言版本的修补程序未提供。

先决条件

若要应用此修补程序,必须在以下操作系统之一上安装 .NET Framework 3.5 Service Pack 1 (SP1) :

  • 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)

注意 .NET Framework 3.5 SP1 包含 .NET Framework 3.0 Service Pack 2 (SP2) 。

若要详细了解如何获取 Windows Vista Service Pack,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:

935791 如何获取最新的 Windows Vista Service Pack 有关如何获取 Windows Server 2008 Service Pack 的更多信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:

968849 如何获取 Windows Server 2008 的最新 Service Pack 有关如何获取 Windows 7 或 Windows Server 2008 R2 Service Pack 的更多信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:

976932 有关 Windows 7 和 Windows Server 2008 R2 的 Service Pack 1 的信息

重启信息

如果受影响的文件正在使用,安装此修补程序后,可能需要重新启动计算机。 建议在应用此修补程序之前,关闭所有 .NET Framework 应用程序。

修补程序替代信息

此修补程序不能替代以前发布的修补程序。

文件信息

此修补程序的英文 (美国) 版本安装的文件具有下表中列出的属性。 这些文件的日期和时间使用协调世界时 (UTC) 列出。 这些文件在本地计算机上显示的日期和时间是本地时间再加上当前夏令时 (DST) 偏差。 此外,如果对这些文件执行某些操作,日期和时间可能会更改。

Windows Vista 和 Windows Server 2008 的文件信息

对于所有基于 x86 的 Windows Vista SP2 和 Windows Server 2008 SP2 版本

文件名 文件版本 文件大小 日期 时间 平台
Presentationframework.dll 3.0.6920.4041 5,279,744 2011 年 7 月 18 日 11:01 x86
Windowsbase.dll 3.0.6920.4041 1,253,376 2011 年 7 月 18 日 11:01 x86
Presentationcore.dll 3.0.6920.4041 4,218,880 2011 年 7 月 18 日 11:01 x86
Presentationfontcache.exe.config 不适用 161 2010 年 8 月 12 日 14:29 不适用
Wpfgfx_v0300.dll 3.0.6920.4037 1,736,536 2010 年 11 月 19 日 1,043 x86
System.printing.dll 3.0.6920.4041 368,640 2011 年 7 月 18 日 11:01 x86
Presentationframework.dll 3.0.6920.4041 5,279,744 2011 年 7 月 18 日 11:01 x86
Presentationhostdll.dll 3.0.6920.4041 130,408 2011 年 7 月 18 日 11:01 x86
Windowsbase.dll 3.0.6920.4041 1,253,376 2011 年 7 月 18 日 11:01 x86

对于所有基于 x64 的 Windows Vista SP2 和 Windows Server 2008 SP2 版本

文件名 文件版本 文件大小 日期 时间 平台
Presentationcore.dll 3.0.6920.4041 3,998,208 2011 年 7 月 18 日 11:00 x64
Presentationfontcache.exe.config 不适用 161 2010 年 8 月 12 日 1,412 不适用
Wpfgfx_v0300.dll 3.0.6920.4037 2,255,192 2010 年 11 月 19 日 1,043 x64
System.printing.dll 3.0.6920.4041 357,888 2011 年 7 月 18 日 11:00 x64
Presentationframework.dll 3.0.6920.4041 4,636,672 2011 年 7 月 18 日 11:00 x86
Presentationhostdll.dll 3.0.6920.4041 171,368 2011 年 7 月 18 日 11:00 x64
Windowsbase.dll 3.0.6920.4041 1,114,112 2011 年 7 月 18 日 11:00 x86
Presentationframework.dll 3.0.6920.4041 5,279,744 2011 年 7 月 18 日 11:01 x86
Windowsbase.dll 3.0.6920.4041 1,253,376 2011 年 7 月 18 日 11:01 x86
Presentationcore.dll 3.0.6920.4041 4,218,880 2011 年 7 月 18 日 11:01 x86
Presentationfontcache.exe.config 不适用 161 2010 年 8 月 12 日 14:29 不适用
Wpfgfx_v0300.dll 3.0.6920.4037 1,736,536 2010 年 11 月 19 日 1,043 x86
System.printing.dll 3.0.6920.4041 368,640 2011 年 7 月 18 日 11:01 x86
Presentationframework.dll 3.0.6920.4041 5,279,744 2011 年 7 月 18 日 11:01 x86
Presentationhostdll.dll 3.0.6920.4041 130,408 2011 年 7 月 18 日 11:01 x86
Windowsbase.dll 3.0.6920.4041 1,253,376 2011 年 7 月 18 日 11:01 x86

Windows 7 和 Windows Server 2008 R2 的文件信息

Windows 7 和 Windows Server 2008 R2 文件信息说明

针对每个环境而安装的 MANIFEST 文件 (.manifest) 在“Windows 7 和 Windows Server 2008 R2 的其他文件信息”部分单独列出。 MANIFEST 文件对于维护更新组件的状态至关重要。

对于所有基于 x86 的 Windows 7 版本

文件名 文件版本 文件大小 日期 时间 平台
Presentationframework.dll 3.0.6920.4041 5,279,744 2011 年 7 月 15 日 1:22:32 AM x86
Windowsbase.dll 3.0.6920.4041 1,253,376 2011 年 7 月 15 日 1:22:32 AM x86
Presentationcore.dll 3.0.6920.4041 4,218,880 2011 年 7 月 15 日 1:22:32 AM x86
Presentationfontcache.exe.config 不适用 161 10-Jun-2009 21:14 不适用
Wpfgfx_v0300.dll 3.0.6920.4040 1,736,536 2011 年 5 月 18 日 2,328 x86
System.printing.dll 3.0.6920.4041 368,640 2011 年 7 月 15 日 1:22:32 AM x86
Presentationframework.dll 3.0.6920.4041 5,279,744 2011 年 7 月 15 日 1:22:32 AM x86
Presentationhostdll.dll 3.0.6920.4041 130,408 2011 年 7 月 15 日 1:22:32 AM x86
Windowsbase.dll 3.0.6920.4041 1,253,376 2011 年 7 月 15 日 1:22:32 AM x86

对于所有基于 x64 的 Windows 7 和 Windows Server 2008 R2 版本

文件名 文件版本 文件大小 日期 时间 平台
Presentationcore.dll 3.0.6920.4041 3,998,208 2011 年 7 月 15 日 22:30 x64
Presentationfontcache.exe.config 不适用 161 10-Jun-2009 20:30 不适用
Wpfgfx_v0300.dll 3.0.6920.4040 2,255,192 2011 年 5 月 18 日 23:22 x64
System.printing.dll 3.0.6920.4041 357,888 2011 年 7 月 15 日 22:30 x64
Presentationframework.dll 3.0.6920.4041 4,636,672 2011 年 7 月 15 日 22:30 x86
Presentationhostdll.dll 3.0.6920.4041 171,368 2011 年 7 月 15 日 22:30 x64
Windowsbase.dll 3.0.6920.4041 1,114,112 2011 年 7 月 15 日 22:30 x86
Presentationframework.dll 3.0.6920.4041 5,279,744 2011 年 7 月 15 日 1:22:32 AM x86
Windowsbase.dll 3.0.6920.4041 1,253,376 2011 年 7 月 15 日 1:22:32 AM x86
Presentationcore.dll 3.0.6920.4041 4,218,880 2011 年 7 月 15 日 1:22:32 AM x86
Presentationfontcache.exe.config 不适用 161 10-Jun-2009 21:14 不适用
Wpfgfx_v0300.dll 3.0.6920.4040 1,736,536 2011 年 5 月 18 日 2,328 x86
System.printing.dll 3.0.6920.4041 368,640 2011 年 7 月 15 日 1:22:32 AM x86
Presentationframework.dll 3.0.6920.4041 5,279,744 2011 年 7 月 15 日 1:22:32 AM x86
Presentationhostdll.dll 3.0.6920.4041 130,408 2011 年 7 月 15 日 1:22:32 AM x86
Windowsbase.dll 3.0.6920.4041 1,253,376 2011 年 7 月 15 日 1:22:32 AM x86

对于所有基于 x86 版本的 Windows 7 SP1

文件名 文件版本 文件大小 日期 时间 平台
Presentationframework.dll 3.0.6920.4041 5,279,744 2011 年 7 月 18 日 22:38 x86
Windowsbase.dll 3.0.6920.4041 1,253,376 2011 年 7 月 18 日 22:38 x86
Presentationcore.dll 3.0.6920.4041 4,218,880 2011 年 7 月 18 日 22:38 x86
Presentationfontcache.exe.config 不适用 161 10-Jun-2009 21:14 不适用
Wpfgfx_v0300.dll 3.0.6920.4040 1,736,536 2011 年 5 月 20 日 10:06 x86
System.printing.dll 3.0.6920.4041 368,640 2011 年 7 月 18 日 22:38 x86
Presentationframework.dll 3.0.6920.4041 5,279,744 2011 年 7 月 18 日 22:38 x86
Presentationhostdll.dll 3.0.6920.4041 130,408 2011 年 7 月 18 日 22:38 x86
Windowsbase.dll 3.0.6920.4041 1,253,376 2011 年 7 月 18 日 22:38 x86

对于所有基于 x64 的 Windows 7 SP1 和 Windows Server 2008 R2 SP1 版本

文件名 文件版本 文件大小 日期 时间 平台
Presentationcore.dll 3.0.6920.4041 3,998,208 2011 年 7 月 18 日 2,233 x64
Presentationfontcache.exe.config 不适用 161 10-Jun-2009 20:30 不适用
Wpfgfx_v0300.dll 3.0.6920.4040 2,255,192 2011 年 5 月 20 日 06:04 x64
System.printing.dll 3.0.6920.4041 357,888 2011 年 7 月 18 日 2,233 x64
Presentationframework.dll 3.0.6920.4041 4,636,672 2011 年 7 月 18 日 2,233 x86
Presentationhostdll.dll 3.0.6920.4041 171,368 2011 年 7 月 18 日 2,233 x64
Windowsbase.dll 3.0.6920.4041 1,114,112 2011 年 7 月 18 日 2,233 x86

其他文件信息

Windows Vista 和 Windows Server 2008 的其他文件信息

所有基于 x86 的 Windows Vista SP2 和 Windows Server 2008 SP2 版本的其他文件信息

文件名 X86_presentationcore_31bf3856ad364e35_6.0.6002.22681_none_ae4bb10ca6782081.manifest
文件版本 不适用
文件大小 9,655
日期 (UTC) 2011 年 7 月 18 日
时间 (UTC) 1.5.4.0
文件名 X86_system.printing_31bf3856ad364e35_6.0.6002.22681_none_755b018a8ca024ac.manifest
文件版本 不适用
文件大小 3,229
日期 (UTC) 2011 年 7 月 18 日
时间 (UTC) 1,547
文件名 X86_wpf- presentationframework_31bf3856ad364e35_6.0.6002.22681_none_70a0fad36c7a3eae.manifest
文件版本 不适用
文件大小 5,589
日期 (UTC) 2011 年 7 月 18 日
时间 (UTC) 15:42
文件名 X86_wpf-presentationhostdll_31bf3856ad364e35_6.0.6002.22681_none_72260c06368312cc.manifest
文件版本 不适用
文件大小 9,557
日期 (UTC) 2011 年 7 月 18 日
时间 (UTC) 15:43
文件名 X86_wpf-windowsbase_31bf3856ad364e35_6.0.6002.22681_none_5987abb15e49f684.manifest
文件版本 不适用
文件大小 10,546
日期 (UTC) 2011 年 7 月 18 日
时间 (UTC) 15:46

所有基于 x64 的 Windows Vista SP2 或 Windows Server 2008 SP2 版本的其他文件信息

文件名 Amd64_presentationcore_31bf3856ad364e35_6.0.6002.22681_none_0a6a4c905ed591b7.manifest
文件版本 不适用
文件大小 9,413
日期 (UTC) 2011 年 7 月 18 日
时间 (UTC) 1,551
文件名 Amd64_system.printing_31bf3856ad364e35_6.0.6002.22681_none_d1799d0e44fd95e2.manifest
文件版本 不适用
文件大小 2,947
日期 (UTC) 2011 年 7 月 18 日
时间 (UTC) 16:00
文件名 Amd64_wpf- presentationframework_31bf3856ad364e35_6.0.6002.22681_none_ccbf965724d7afe4.manifest
文件版本 不适用
文件大小 14,891
日期 (UTC) 2011 年 7 月 18 日
时间 (UTC) 15:52
文件名 Amd64_wpf-presentationhostdll_31bf3856ad364e35_6.0.6002.22681_none_ce44a789eee08402.manifest
文件版本 不适用
文件大小 9,603
日期 (UTC) 2011 年 7 月 18 日
时间 (UTC) 15:55
文件名 Amd64_wpf-windowsbase_31bf3856ad364e35_6.0.6002.22681_none_b5a6473516a767ba.manifest
文件版本 不适用
文件大小 16,296
日期 (UTC) 2011 年 7 月 18 日
时间 (UTC) 15:59

Windows 7 和 Windows Server 2008 R2 的其他文件信息

所有基于 x86 的 Windows 7 版本的其他文件信息

文件名 X86_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_acd794d00a316172.manifest
文件版本 不适用
文件大小 4,445
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 04:56
文件名 X86_system.printing_31bf3856ad364e35_6.1.7600.21010_none_73e6e54df059659d.manifest
文件版本 不适用
文件大小 2,678
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 05:01
文件名 X86_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_6f2cde96d0337f9f.manifest
文件版本 不适用
文件大小 2,189
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 04:57
文件名 X86_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_70b1efc99a3c53bd.manifest
文件版本 不适用
文件大小 2,993
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 04:58
文件名 X86_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_58138f74c2033775.manifest
文件版本 不适用
文件大小 2,149
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 04:55

所有基于 x64 的 Windows 7 和 Windows Server 2008 R2 版本的其他文件信息

文件名 Amd64_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_08f63053c28ed2a8.manifest
文件版本 不适用
文件大小 4,459
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 05:50
文件名 Amd64_system.printing_31bf3856ad364e35_6.1.7600.21010_none_d00580d1a8b6d6d3.manifest
文件版本 不适用
文件大小 2,680
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 05:59
文件名 Amd64_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_cb4b7a1a8890f0d5.manifest
文件版本 不适用
文件大小 3,600
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 05:53
文件名 Amd64_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_ccd08b4d5299c4f3.manifest
文件版本 不适用
文件大小 3,003
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 05:54
文件名 Amd64_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_b4322af87a60a8ab.manifest
文件版本 不适用
文件大小 5,426

所有基于 x86 的 Windows 7 SP1 版本的其他文件信息

文件名 X86_presentationcore_31bf3856ad364e35_6.1.7601.21776_none_ae833be80782d9cc.manifest
文件版本 不适用
文件大小 4,445
日期 (UTC) 2011 年 7 月 22 日
时间 (UTC)

08:10
文件名 X86_system.printing_31bf3856ad364e35_6.1.7601.21776_none_75928c65edaaddf7.manifest
文件版本 不适用
文件大小 2,678
日期 (UTC) 2011 年 7 月 22 日
时间 (UTC) 20:08
文件名 X86_wpf- presentationframework_31bf3856ad364e35_6.1.7601.21776_none_70d885aecd84f7f9.manifest
文件版本 不适用
文件大小 2,189
日期 (UTC) 2011 年 7 月 22 日
时间 (UTC) 1,208
文件名 X86_wpf-presentationhostdll_31bf3856ad364e35_6.1.7601.21776_none_725d96e1978dcc17.manifest
文件版本 不适用
文件大小 2,993
日期 (UTC) 2011 年 7 月 22 日
时间 (UTC)


08:14
文件名 X86_wpf-windowsbase_31bf3856ad364e35_6.1.7601.21776_none_59bf368cbf54afcf.manifest
文件版本 不适用
文件大小 2,149
日期 (UTC) 2011 年 7 月 22 日
时间 (UTC) 1,808

所有基于 x64 的 Windows 7 SP1 和 Windows Server 2008 R2 SP1 版本的其他文件信息

文件名 Amd64_presentationcore_31bf3856ad364e35_6.1.7601.21776_none_0aa1d76bbfe04b02.manifest
文件版本 不适用
文件大小 4,459
日期 (UTC) 2011 年 7 月 22 日
时间 (UTC)


08:53
文件名 Amd64_system.printing_31bf3856ad364e35_6.1.7601.21776_none_d1b127e9a6084f2d.manifest
文件版本 不适用
文件大小 2,680
日期 (UTC) 2011 年 7 月 22 日
时间 (UTC) 09:08
文件名 Amd64_wpf- presentationframework_31bf3856ad364e35_6.1.7601.21776_none_ccf7213285e2692f.manifest
文件版本 不适用
文件大小 3,600
日期 (UTC) 2011 年 7 月 22 日
时间 (UTC) 08:56
文件名 Amd64_wpf-presentationhostdll_31bf3856ad364e35_6.1.7601.21776_none_ce7c32654feb3d4d.manifest
文件版本 不适用
文件大小 3,003
日期 (UTC) 2011 年 7 月 22 日
时间 (UTC)


08:58
文件名 Amd64_wpf-windowsbase_31bf3856ad364e35_6.1.7601.21776_none_b5ddd21077b22105.manifest
文件版本 不适用
文件大小 5,426

状态

Microsoft 已确认在 "适用于" 部分中所列的 Microsoft 产品中存在问题。

详细信息

有关软件更新术语的更多信息,请单击下面的文章编号以查看 Microsoft 知识库中的相应文章:

824684 用于描述Microsoft软件更新的标准术语说明

其他文件信息

Windows 7 和 Windows Server 2008 R2 的其他文件信息

所有受支持的基于 x86 的 Windows 7 版本的其他文件

文件名 X86_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_acd794d00a316172.manifest
文件版本 不适用
文件大小 4,445
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 04:56
文件名 X86_system.printing_31bf3856ad364e35_6.1.7600.21010_none_73e6e54df059659d.manifest
文件版本 不适用
文件大小 2,678
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 05:01
文件名 X86_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_6f2cde96d0337f9f.manifest
文件版本 不适用
文件大小 2,189
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 04:57
文件名 X86_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_70b1efc99a3c53bd.manifest
文件版本 不适用
文件大小 2,993
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 04:58
文件名 X86_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_58138f74c2033775.manifest
文件版本 不适用
文件大小 2,149
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 04:55

所有受支持的基于 x64 的 Windows 7 和 Windows Server 2008 R2 版本的其他文件

文件名 Amd64_presentationcore_31bf3856ad364e35_6.1.7600.21010_none_08f63053c28ed2a8.manifest
文件版本 不适用
文件大小 4,459
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 05:50
文件名 Amd64_system.printing_31bf3856ad364e35_6.1.7600.21010_none_d00580d1a8b6d6d3.manifest
文件版本 不适用
文件大小 2,680
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 05:59
文件名 Amd64_wpf- presentationframework_31bf3856ad364e35_6.1.7600.21010_none_cb4b7a1a8890f0d5.manifest
文件版本 不适用
文件大小 3,600
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 05:53
文件名 Amd64_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.21010_none_ccd08b4d5299c4f3.manifest
文件版本 不适用
文件大小 3,003
日期 (UTC) 2011 年 7 月 16 日
时间 (UTC) 05:54
文件名 Amd64_wpf-windowsbase_31bf3856ad364e35_6.1.7600.21010_none_b4322af87a60a8ab.manifest
文件版本 不适用
文件大小 5,426