UFF_FILEHEADER structure

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.

FlagDefinition

FONT_DIR_SORTED

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

 

dwReserved

Reserved. Must be set to zero.

Requirements

Header

Prntfont.h (include Prntfont.h)

See also

UFF_FONTDIRECTORY
DATA_HEADER

 

 

Send comments about this topic to Microsoft

Show: