Type | Name | Description |
USHORT | version | Version number (starts at 0). |
USHORT | numRecs | Number of VDMX groups present |
USHORT | numRatios | Number of aspect ratio groupings |
Ratios | ratRange[numRatios] | Ratio ranges (see below for more info) |
USHORT | offset[numRatios] | Offset from start of this table to the VDMX group for this ratio range. |
Vdmx | groups | The actual VDMX groupings (documented below) |
Ratios are set up as follows: | |
For a 1:1 aspect ratio | Ratios.xRatio = 1; |
For 1:1 through 2:1 ratio | Ratios.xRatio = 2; |
For 1.33:1 ratio | Ratios.xRatio = 4; |
For all aspect ratios | Ratio.xRatio = 0; |
uCharSet | Description |
0 | No subset; the VDMX group applies to all glyphs in the font. This is used for symbol or dingbat fonts. |
1 | Windows ANSI subset; the VDMX group was computed using only the glyphs required to complete the Windows ANSI character set. Windows will ignore any VDMX entries that are not for the ANSI subset (i.e. uCharSet = 1) |
Type | Name | Description |
USHORT | recs | Number of height records in this group |
BYTE | startsz | Starting yPelHeight |
BYTE | endsz | Ending yPelHeight |
vTable | entry[recs] | The VDMX records |