Font-related Keywords for a Script for the Graphics Device Interface Performance Test (Windows CE 5.0)

Send Feedback

The following table shows font-related keywords that you can use with some test cases in a script file for the Graphics Device Interface Performance Test.

Keyword Acceptable value Description
FontHeight <array of numerical values> Specifies the font height.

The default value for this keyword is zero.

FontWidth <array of numerical values> Specifies the font width.

The default value for this keyword is zero.

Escapement <array of numerical values> Specifies the escapement and orientation of the font.

The default value for this keyword is zero.

FontWeight FW_DONTCARE

FW_THIN

FW_EXTRALIGHT

FW_LIGHT

FW_NORMAL

FW_MEDIUM

FW_SEMIBOLD

FW_BOLD

FW_EXTRABOLD

FW_HEAVY

Specifies the font weight. You can specify multiple values.

The default value for this keyword is FW_NORMAL.

Italics 0 or 1 If set to 1, specifies that the font is italic.
Underline 0 or 1 If set to 1, specifies that the font is underlined.
StrikeOut 0 or 1 If set to 1, specifies that the font is strikethrough.
CharSet ANSI_CHARSET

CHINESEBIG5_CHARSET

EASTEUROPE_CHARSET

GREEK_CHARSET

MAC_CHARSET

RUSSIAN_CHARSET

SYMBOL_CHARSET

BALTIC_CHARSET

DEFAULT_CHARSET

GB2312_CHARSET

OEM_CHARSET

SHIFTJIS_CHARSET

TURKISH_CHARSET

JOHAB_CHARSET

HEBREW_CHARSET

ARABIC_CHARSET

THAI_CHARSET

Specifies the character set. You can specify multiple values.

The default value for this keyword is DEFAULT_CHARSET.

OutPrecision OUT_DEFAULT_PRECIS

OUT_RASTER_PRECIS

OUT_STRING_PRECIS

Specifies the output precision. You can specify multiple values.

The default value for this keyword is OUT_DEFAULT_PRECIS.

ClipPrecision CLIP_DEFAULT_PRECIS

CLIP_CHARACTER_PRECIS

CLIP_STROKE_PRECIS

Specifies the clipping precision. You can specify multiple values.

The default value for this keyword is CLIP_DEFAULT_PRECIS.

Quality ANTIALIASED_QUALITY

NONANTIALIASED_QUALITY,

CLEARTYPE_COMPAT_QUALITY,

CLEARTYPE_QUALITY

DEFAULT_QUALITY

DRAFT_QUALITY

Specifies the font quality. You can specify multiple values.

The default value for this keyword is DEFAULT_QUALITY.

Pitch DEFAULT_PITCH

FIXED_PITCH

VARIABLE_PITCH

Specifies the font pitch. You can specify multiple values.

The default value for this keyword is DEFAULT_PITCH.

Family FF_DECORATIVE

FF_DONTCARE

FF_MODERN,

FF_ROMAN

FF_SCRIPT

FF_SWISS

Specifies the font family. You can specify multiple values.

The default value for this keyword is FF_DONTCARE.

FaceName <name of font to use> Specifies the name of the font.

See Also

Keywords for a Script for the Graphics Device Interface Performance Test | Script Development for the Graphics Device Interface Performance Test

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.