Bewerken

Delen via


UNI_GLYPHSETDATA structure (prntfont.h)

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

Syntax

typedef struct _UNI_GLYPHSETDATA {
  DWORD dwSize;
  DWORD dwVersion;
  DWORD dwFlags;
  LONG  lPredefinedID;
  DWORD dwGlyphCount;
  DWORD dwRunCount;
  DWORD loRunOffset;
  DWORD dwCodePageCount;
  DWORD loCodePageOffset;
  DWORD loMapTableOffset;
  DWORD dwReserved[2];
} UNI_GLYPHSETDATA, *PUNI_GLYPHSETDATA;

Members

dwSize

Specifies the total size, in bytes, of the .gtt file. Note that this is the total size of all structures used to define the file. This value is not the size of the UNI_GLYPHSETDATA structure.

dwVersion

Specifies the file version number, as defined in prntfont.h by a constant with a name format of UNI_GLYPHSETDATA_VERSION_x_x.

dwFlags

Not used.

lPredefinedID

Specifies one of the CC_-prefixed code conversion identifiers defined in prntfont.h.

dwGlyphCount

Specifies the number of glyphs provided by this font.

dwRunCount

Specifies the number of GLYPHRUN structures in the array pointed to by loRunOffset.

loRunOffset

Specifies the byte offset from the beginning of the UNI_GLYPHSETDATA structure to the beginning of an array of GLYPHRUN structures.

dwCodePageCount

Specifies the number of UNI_CODEPAGEINFO structures in the array pointed to by loCodePageOffset.

loCodePageOffset

Specifies the byte offset from the beginning of the UNI_GLYPHSETDATA structure to the beginning of an array of UNI_CODEPAGEINFO structures.

loMapTableOffset

Specifies the byte offset from the beginning of the UNI_GLYPHSETDATA structure to the beginning of a MAPTABLE structure.

dwReserved[2]

Reserved for system use.

Remarks

A UNI_GLYPHSETDATA structure must be the first structure contained in a .gtt file.

Requirements

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

See also

GLYPHRUN

MAPTABLE

UNI_CODEPAGEINFO