PRB: TrueType Fonts Do Not Display on x86 Platform (260039)



The information in this article applies to:

  • Microsoft Windows CE Operating System, Versions 2.12
  • Microsoft Windows CE Operating System, Versions 2.11
  • Microsoft Windows CE Operating System, Versions 3.0

This article was previously published under Q260039

SYMPTOMS

On an Intel x86 Windows CE platform, TrueType fonts are not displayed, but raster fonts are displayed. This problem usually is noticed first as empty dialog boxes, dialog boxes that appear as a vertical line, or no text in the Start menu button.

CAUSE

The rendering of TrueType fonts requires floating-point math support. Some x86 processors (including the Intel 486SX and the Advanced Micro Devices Elan SC400) do not include a hardware floating-point unit (FPU). Without the FPU, font-size calculations do not occur, which results in zero-width fonts, and therefore no fonts are displayed.

RESOLUTION

Windows CE includes a software emulation for floating point. This operating system component, fpemul, must be added to the set of components that are selected for the platform.

STATUS

This behavior is by design.

MORE INFORMATION

Procedure for Adding the Fpemul Component

  1. Locate the Public\<Project>\Oak\Misc\Cesysgen.bat folder, and then open the Cesysgen.bat file in a text editor, where <project> is the name of your project.
  2. Add fpemul to the component list that is defined for COREDLL_COMPONENTS.
  3. Save the file.
  4. Rebuild the platform.
If you are using Platform Builder version 2.12, close the platform workspace and reopen it. You will see that the fpemul component appears in the component tree view when you click the ComponentView tab, then expand the following catalog tree control nodes to reach the lowest level (coredll):

 <project> Components
  <baseconfig>
   CE_MODULES
    coredll

where <baseconfig> is the configuration the project is based on.

If you are using Platform Builder version 2.11 or the Embedded Toolkit (ETK), type SYSGEN -C at a Windows NT prompt, followed by a rebuild of the platform (that is, use BLDDEMO).

Modification Type:MinorLast Reviewed:12/5/2003
Keywords:kbprb KB260039