Microsoft KB Archive/893306

= FIX: The glyphs that are displayed are from the wrong font file when you use the AddFontResource function in Windows CE 5.0 =

Article ID: 893306

Article Last Modified on 5/27/2005

-

APPLIES TO


 * Microsoft Windows CE 5.0

-





SYMPTOMS
When you use the AddFontResource function in Microsoft Windows CE 5.0, the glyphs that are displayed are from the wrong font file.



CAUSE
This problem may occur because of one of the following reasons:
 * At system startup, the Graphics, Windowing, and Events Subsystem (GWES) creates a linked list of all fonts that are loaded. This list is used to calculate the font that is the most similar to the font that is requested by an application by using the CreateFontIndirect function. However, GWES does not update this list for fonts that are added after startup by using the AddFontResource function.
 * The font linking registry setting does not work when the full path of the font file is more than 130 characters.



Software update information
A supported software update is now available from Microsoft as Windows CE 5.0 Core OS QFE 893306. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites
This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement
After you install this update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart your computer after you apply this update.

Update replacement information
This update does not replace any other updates.

File information
The English version of this update package has the file attributes (or later file attributes) that are listed in the following table.   Date         Time   Size       File name --  Path: Signed 25-Feb-2005 20:08  1,182,208  Wincepb50-050225-kb893306-armv4i.msi 25-Feb-2005 20:08  1,217,536  Wincepb50-050225-kb893306-mipsii.msi 25-Feb-2005 20:09  1,219,072  Wincepb50-050225-kb893306-mipsii_fp.msi 25-Feb-2005 20:09  1,224,704  Wincepb50-050225-kb893306-mipsiv.msi 25-Feb-2005 20:09  1,225,216  Wincepb50-050225-kb893306-mipsiv_fp.msi 25-Feb-2005 20:08  1,142,784  Wincepb50-050225-kb893306-sh4.msi 25-Feb-2005 20:08  1,038,336  Wincepb50-050225-kb893306-x86.msi The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Size       File name Path: Public\Common\Oak\Lib\Armv4i\Debug 23-Feb-2005 01:30  1,325,614  Mgtt.lib

Path: Public\Common\Oak\Lib\Armv4i\Retail 23-Feb-2005 01:29  1,144,976  Mgtt.lib

Path: Public\Common\Oak\Lib\Mipsii\Debug 23-Feb-2005 01:30  1,309,908  Mgtt.lib

Path: Public\Common\Oak\Lib\Mipsii\Retail 23-Feb-2005 01:30  1,078,552  Mgtt.lib

Path: Public\Common\Oak\Lib\Mipsii_fp\Debug 23-Feb-2005 01:30  1,309,790  Mgtt.lib

Path: Public\Common\Oak\Lib\Mipsii_fp\Retail 23-Feb-2005 01:30  1,076,786  Mgtt.lib

Path: Public\Common\Oak\Lib\Mipsiv\Debug 23-Feb-2005 01:31  1,326,038  Mgtt.lib

Path: Public\Common\Oak\Lib\Mipsiv\Retail 23-Feb-2005 01:30  1,077,574  Mgtt.lib

Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug 23-Feb-2005 01:31  1,321,316  Mgtt.lib

Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail 23-Feb-2005 01:31  1,074,228  Mgtt.lib

Path: Public\Common\Oak\Lib\Sh4\Debug 23-Feb-2005 01:29  1,103,050  Mgtt.lib

Path: Public\Common\Oak\Lib\Sh4\Retail 23-Feb-2005 01:29    968,924  Mgtt.lib

Path: Public\Common\Oak\Lib\X86\Debug 23-Feb-2005 01:29    971,456  Mgtt.lib

Path: Public\Common\Oak\Lib\X86\Retail 23-Feb-2005 01:29    990,518  Mgtt.lib



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For additional information, 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

Keywords: kbbug kbfix kbqfe KB893306

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.