Fonts Functions (Windows Embedded CE 6.0)

1/6/2010

The following table shows the fonts functions, with a description of the purpose of each.

In This Section

  • AddFontResource
    This function adds the font resource from the specified file to the Windows font table. The font can subsequently be used for text output by any Windows Embedded CE–based application.
  • CreateFontIndirect
    This function creates a logical font that has the characteristics specified in the specified structure. An application can subsequently select the font as the current font for any device context (DC).
  • DrawText
    This function draws formatted text in the specified rectangle. DrawText formats the text according to the specified format method.
  • EnableEUDC
    This function enables or disables end-user-defined characters (EUDC).
  • EnumFontFamilies
    This function enumerates the fonts in a specified font family that are available on a specified device. This function supersedes the EnumFonts function.
  • EnumFontFamProc
    This function is an application-defined callback function that retrieves data that describes the available fonts.
  • EnumFonts
    This function enumerates the fonts available on a specified device. This function is provided for compatibility with early versions of the Microsoft Windows SDK. Whenever possible, applications should use the EnumFontFamilies function.
  • EnumFontsProc
    This function is an application-defined callback function that processes font data from the EnumFonts function.
  • ExtTextOut
    This function draws a character string by using the currently selected font. You can provide an optional rectangle that ExtTextOut can use for clipping, opaquing, or both.
  • GetCharABCWidths
    This function retrieves the widths, in logical units, of consecutive characters in a specified range from the current TrueType font. This function succeeds only with TrueType fonts.
  • GetCharABCWidthsI
    The GetCharABCWidthsI function retrieves the widths, in logical units, of consecutive glyph indices in a specified range from the current TrueType font. This function succeeds only with TrueType fonts.
  • GetCharWidth32
    This function retrieves the widths, in logical coordinates, of consecutive characters in a specified range from the current font.
  • GetTextAlign
    This function retrieves the text-alignment setting for the specified device context.
  • GetTextColor
    This function retrieves the current text color for the specified device context.
  • GetTextExtentExPoint
    This function retrieves the number of characters in a specified string that fit within a specified space and fills an array with the text extent for each of those characters. A text extent is the distance between the beginning of the space and a character that fits in the space.
  • GetTextExtentPoint
    This function computes the width and height of the specified string of text.
  • GetTextFace
    This function retrieves the typeface name of the font that is selected into the specified device context (DC).
  • GetTextMetrics
    This function fills the specified buffer with the metrics for the currently selected font.
  • RemoveFontResource
    This function removes the fonts in the specified file from the Windows Embedded CE font table.
  • SetTextAlign
    This function sets the text-alignment value for the specified device context.
  • SetTextColor
    This function sets the text color of the specified device context to the specified color.

  • DrvTextOut
    Applies to Windows Embedded CE 6.0 R2

    Calls for the driver to render a set of glyphs at specified positions.

  • FDDESTROYFONT
    Applies to Windows Embedded CE 6.0 R2

    Notifies the driver that a font realization is no longer needed and that the driver can now free any associated data structures it has allocated.

  • FDGETFONTTABLE
    Applies to Windows Embedded CE 6.0 R2

    Accesses a memory–mapped font file.

  • FDLOADFONTFILE
    Applies to Windows Embedded CE 6.0 R2

    Receives information from GDI relating to loading and mapping font files.

  • FDQUERYFONTDATA
    Applies to Windows Embedded CE 6.0 R2

    Returns information about a realized font.

  • FDQUERYFONTFILE
    Applies to Windows Embedded CE 6.0 R2

    Provides font file information for a font.

  • FDUNLOADFONTFILE
    Applies to Windows Embedded CE 6.0 R2

    Informs a font driver that a specified font file is no longer needed.

  • Fonts Reference
    Provides links to structures and methods that are available for fonts.
  • Fonts
    Provides an overview of the fonts available for Windows Embedded CE.

  • Pluggable Fonts Reference
    Applies to Windows Embedded CE 6.0 R2

    Provides links to structures and methods that are available to support pluggable font drivers.

See Also

Other Resources

Fonts Reference