MAPTABLE structure (prntfont.h)

The MAPTABLE structure is one of the structures used to define the contents of glyph translation table files (.gtt files).

Syntax

typedef struct _MAPTABLE {
  DWORD     dwSize;
  DWORD     dwGlyphNum;
  TRANSDATA Trans[1];
} MAPTABLE, *PMAPTABLE;

Members

dwSize

Specifies the size, in bytes, of the MAPTABLE structure, including the Trans array.

dwGlyphNum

Specifies the number of elements in the Trans array.

Trans[1]

Is an array of TRANSDATA structures.

Remarks

A .gtt file's MAPTABLE structure, which contains a glyph mapping table, is accessed by a pointer in the file's UNI_GLYPHSETDATA structure. The table maps glyph handles to the character codes or commands that must be sent to the printer in order to print glyphs.

Requirements

Requirement Value
Header prntfont.h (include Prntfont.h)

See also

TRANSDATA