TTVALIDATIONTESTSPARAMS structure (t2embapi.h)

The TTVALIDATIONTESTSPARAMS structure contains parameters for testing a Microsoft OpenType font.

Syntax

typedef struct {
  unsigned long  ulStructSize;
  long           lTestFromSize;
  long           lTestToSize;
  unsigned long  ulCharSet;
  unsigned short usReserved1;
  unsigned short usCharCodeCount;
  unsigned short *pusCharCodeSet;
} TTVALIDATIONTESTSPARAMS;

Members

ulStructSize

Size, in bytes, of this structure. The client should set this value to sizeof(TTVALIDATIONTESTSPARAMS).

lTestFromSize

First character point size to test. This value is the smallest font size (lower bound) of the font sizes to test.

lTestToSize

Last character point size to test. This value is an largest font size (upper bound) of the font sizes to test.

ulCharSet

Flag specifying the character set of the font to validate. This flag can have one of the following values.

Value Description
CHARSET_UNICODE Unicode character set, requiring 16-bit-character encoding.
CHARSET_SYMBOL Symbol character set, requiring 16-bit-character encoding.

usReserved1

Currently not used.

usCharCodeCount

If zero, test over all glyphs.

pusCharCodeSet

Pointer to array of Unicode characters.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header t2embapi.h

See also

TTRunValidationTests

TTVALIDATIONTESTSPARAMSEX