FIX: Font Linking and Skip Tables Remain Unchanged After the AddFontResource Function is Called (825898)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.1

SYMPTOMS

When a font resource is added programmatically by means of the AddFontResource function, the font linking information and the skip table information is not updated to include the new font.

CAUSE

Graphics, Windowing and Event Subsystem (GWES) builds the font linking and skip tables only when the system is restarted. Therefore, GWES use only those fonts that are built in to the platform.

RESOLUTION

Hotfix Information

A supported software update is now available from Microsoft as Windows CE 4.1 Core OS QFE 825989. 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 fix is supported only when all previously issued fixes for this product have also been installed.

Restart Requirement

After you install this update, you must perform a clean build of the whole platform:
  1. On the Build menu, click Clean.
  2. On the Build menu, click Build Platform.

Hotfix Replacement Information

This hotfix does not replace any other hotfixes.

File Information

The English version of this package has the file attributes (or later) that are listed in the following table.
   Date         Time   Version            Size    File name
   ---------------------------------------------------------------------------------------

   22-Aug-2003  22:28  4.1.3.822       1,247,848  Wincepb41-030822-kb825898-armv4.exe  
   22-Aug-2003  22:28  4.1.3.822       1,247,848  Wincepb41-030822-kb825898-armv4i.exe
   22-Aug-2003  22:29  4.1.3.822       1,247,848  Wincepb41-030822-kb825898-armv4t.exe
   22-Aug-2003  22:28  4.1.3.822       1,161,832  Wincepb41-030822-kb825898-mips16.exe  
   22-Aug-2003  22:29  4.1.3.822       1,260,136  Wincepb41-030822-kb825898-mipsii.exe  
   22-Aug-2003  22:29  4.1.3.822       1,264,232  Wincepb41-030822-kb825898-mipsii_fp.exe  
   22-Aug-2003  22:29  4.1.3.822       1,272,424  Wincepb41-030822-kb825898-mipsiv.exe  
   22-Aug-2003  22:29  4.1.3.822       1,268,328  Wincepb41-030822-kb825898-mipsiv_fp.exe
   22-Aug-2003  22:28  4.1.3.822       1,202,792  Wincepb41-030822-kb825898-sh3.exe
   22-Aug-2003  22:28  4.1.3.822       1,198,696  Wincepb41-030822-kb825898-sh4.exe
   22-Aug-2003  22:28  4.1.3.822       1,096,296  Wincepb41-030822-kb825898-x86.exe  
The English version of this hotfix has the file attributes (or later) 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\Armv4\Debug
   04-Aug-2003  16:35                  1,198,562  Mgtt.lib

   Path: Public\Common\Oak\Lib\Armv4\Retail
   04-Aug-2003  16:35                    991,304  Mgtt.lib

   Path: Public\Common\Oak\Lib\Armv4i\Debug
   04-Aug-2003  16:35                  1,201,678  Mgtt.lib

   Path: Public\Common\Oak\Lib\Armv4i\Retail
   04-Aug-2003  16:35                    993,424  Mgtt.lib

   Path: Public\Common\Oak\Lib\Armv4t\Debug
   04-Aug-2003  16:35                  1,082,060  Mgtt.lib

   Path: Public\Common\Oak\Lib\Armv4t\Retail
   04-Aug-2003  16:35                    985,510  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mips16\Debug
   04-Aug-2003  16:36                    994,686  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mips16\Retail
   04-Aug-2003  16:36                    763,310  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsii\Debug
   04-Aug-2003  16:36                  1,198,710  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsii\Retail
   04-Aug-2003  16:36                    958,382  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Debug
   04-Aug-2003  16:36                  1,199,134  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Retail
   04-Aug-2003  16:36                    958,004  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Debug
   04-Aug-2003  16:38                  1,207,910  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Retail
   04-Aug-2003  16:38                    962,308  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug
   04-Aug-2003  16:37                  1,205,764  Mgtt.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail
   04-Aug-2003  16:37                    960,324  Mgtt.lib

   Path: Public\Common\Oak\Lib\Sh3\Debug
   04-Aug-2003  16:37                  1,003,378  Mgtt.lib

   Path: Public\Common\Oak\Lib\Sh3\Retail
   04-Aug-2003  16:37                    856,842  Mgtt.lib

   Path: Public\Common\Oak\Lib\Sh4\Debug
   04-Aug-2003  16:38                  1,001,694  Mgtt.lib

   Path: Public\Common\Oak\Lib\Sh4\Retail
   04-Aug-2003  16:37                    851,750  Mgtt.lib

   Path: Public\Common\Oak\Lib\X86\Debug
   04-Aug-2003  16:34                    886,852  Mgtt.lib

   Path: Public\Common\Oak\Lib\X86\Retail
   04-Aug-2003  16:34                    795,334  Mgtt.lib

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

This update changes GWES so that it rebuilds the font linking and the skip tables after any successful AddFontResource function call. As a result, font resources that are added dynamically will behave like system font resources.

Font linking and skip tables are most frequently used with Far East localizations of Microsoft Windows CE.

Modification Type:MinorLast Reviewed:5/27/2005
Keywords:kbBug kbfix kbQFE KB825898 kbAudDeveloper