Bewerken

Delen via


UFF_FILEHEADER structure (prntfont.h)

The UFF_FILEHEADER structure is used to define the contents of Unidrv font format files (.uff files).

Syntax

typedef struct _UFF_FILEHEADER {
  DWORD dwSignature;
  DWORD dwVersion;
  DWORD dwSize;
  DWORD nFonts;
  DWORD nGlyphSets;
  DWORD nVarData;
  DWORD offFontDir;
  DWORD dwFlags;
  DWORD dwReserved[4];
} UFF_FILEHEADER, *PUFF_FILEHEADER;

Members

dwSignature

Specifies the signature for .uff files. This value must be UFF_FILE_MAGIC.

dwVersion

Specifies the format version for .uff files. This value must be UFF_VERSION_NUMBER. The HIWORD contains the major version number and the LOWORD contains the minor version number.

dwSize

Specifies the size, in bytes, of the UFF_FILEHEADER structure.

nFonts

Specifies the number of fonts specified within the .uff file and identified by DATA_HEADER structures. This is also the number of UFF_FONTDIRECTORY structures within the .uff file.

nGlyphSets

Specifies the number of glyph sets specified within the .uff file and identified by DATA_HEADER structures. Some fonts might share a glyph set.

nVarData

Specifies the number of variable data sections specified within the .uff file and identified by DATA_HEADER structures.

offFontDir

Specifies the offset, in bytes, from the beginning of the .uff file to the beginning of the first UFF_FONTDIRECTORY structure.

dwFlags

Is a set of bit flags, as specified in the following table.

Flag Definition
FONT_DIR_SORTED The array of UFF_FONTDIRECTORY structures (specified by offFontDir) is sorted by the contents of that structure's wFontID member.

dwReserved[4]

Reserved. Must be set to zero.

Requirements

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

See also

DATA_HEADER

UFF_FONTDIRECTORY