FIX: Unexpected characters may appear if you use a font that was loaded by using the AddFontResource API function in Windows CE 5.0 (904259)



The information in this article applies to:

  • Microsoft Windows CE 5.0

SYMPTOMS

Consider the following scenario. In Microsoft Windows CE 5.0, you use the AddFontResource API function to load a font from a file. Then you use the loaded font. In this scenario, unexpected characters may appear.

CAUSE

This problem occurs because an internal list that is used to keep track of loaded fonts may be out of order.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 5.0 Core OS QFE 904259. 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 software update is only supported if all previously issued software updates for this product have also been applied.

Restart requirement

After you apply this software 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 the computer after you apply this software update.

Software update replacement information

This software update does not replace any other software updates.

File information

The English version of this software update package has the file attributes or the later file attributes that are listed in the following table.
   Date         Time   Size       File name
   ----------------------------------------------------------------------
   04-Oct-2005  22:14  1,418,752  Wincepb50-051004-kb904259-armv4i.msi
   04-Oct-2005  22:14  1,452,544  Wincepb50-051004-kb904259-mipsii.msi
   04-Oct-2005  22:14  1,454,592  Wincepb50-051004-kb904259-mipsii_fp.msi
   04-Oct-2005  22:14  1,459,200  Wincepb50-051004-kb904259-mipsiv.msi
   04-Oct-2005  22:14  1,459,712  Wincepb50-051004-kb904259-mipsiv_fp.msi
   04-Oct-2005  22:14  1,380,352  Wincepb50-051004-kb904259-sh4.msi
   04-Oct-2005  22:14  1,275,392  Wincepb50-051004-kb904259-x86.msi
The English version of this software 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
   29-Sep-2005  00:52  1,337,114  Mgtt.lib

   Path: Public\Common\Oak\Lib\Armv4i\Retail
   29-Sep-2005  00:52  1,153,514  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsii\Debug
   29-Sep-2005  00:52  1,320,138  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsii\Retail
   29-Sep-2005  00:52  1,086,614  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Debug
   29-Sep-2005  00:52  1,319,722  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Retail
   29-Sep-2005  00:52  1,084,438  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Debug
   29-Sep-2005  00:53  1,336,530  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Retail
   29-Sep-2005  00:53  1,085,540  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug
   29-Sep-2005  00:53  1,331,378  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail
   29-Sep-2005  00:53  1,081,894  Mgtt.lib

   Path: Public\Common\Oak\Lib\Sh4\Debug
   29-Sep-2005  00:51  1,111,576  Mgtt.lib

   Path: Public\Common\Oak\Lib\Sh4\Retail
   29-Sep-2005  00:51    975,976  Mgtt.lib

   Path: Public\Common\Oak\Lib\X86\Debug
   29-Sep-2005  00:51    979,226  Mgtt.lib

   Path: Public\Common\Oak\Lib\X86\Retail
   29-Sep-2005  00:51    997,562  Mgtt.lib

WORKAROUND

To work around this problem, perform a soft reset of the Windows CE-based device.

STATUS

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

Modification Type:MinorLast Reviewed:7/25/2006
Keywords:kbBug kbfix kbQFE kbpubtypekc KB904259 kbAudOEM