vhea table, as well as the corresponding vertical metrics table, vmtx.
struct TT_VertHeader {
FT_Fixed Version;
FT_Short Ascender;
FT_Short Descender;
FT_Short Line_Gap;
FT_UShort advance_Height_Max;
FT_Short min_Top_Side_Bearing;
FT_Short min_Bottom_Side_Bearing;
FT_Short yMax_Extent;
FT_Short caret_Slope_Rise;
FT_Short caret_Slope_Run;
FT_Short caret_Offset;
FT_Short Reserved[4];
FT_Short metric_Data_Format;
FT_UShort number_Of_VMetrics;
void * long_metrics;
void * short_metrics;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | TT_VertHeader.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ADVANCE_HEIGHT_MAX
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ASCENDER
The struct member offsets. |
| public static final int | CARET_OFFSET
The struct member offsets. |
| public static final int | CARET_SLOPE_RISE
The struct member offsets. |
| public static final int | CARET_SLOPE_RUN
The struct member offsets. |
| public static final int | DESCENDER
The struct member offsets. |
| public static final int | LINE_GAP
The struct member offsets. |
| public static final int | LONG_METRICS
The struct member offsets. |
| public static final int | METRIC_DATA_FORMAT
The struct member offsets. |
| public static final int | MIN_BOTTOM_SIDE_BEARING
The struct member offsets. |
| public static final int | MIN_TOP_SIDE_BEARING
The struct member offsets. |
| public static final int | NUMBER_OF_VMETRICS
The struct member offsets. |
| public static final int | RESERVED
The struct member offsets. |
| public static final int | SHORT_METRICS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VERSION
The struct member offsets. |
| public static final int | YMAX_EXTENT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | TT_VertHeader(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| protected TT_VertHeader | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static TT_VertHeader | |
| public static TT_VertHeader. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static TT_VertHeader | |
| public static TT_VertHeader. | |
| public short | |
| public short | |
| public ByteBuffer | |
| public short | |
| public short | |
| public short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static ByteBuffer | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static ShortBuffer | |
| public static short | |
| public static ByteBuffer | |
| public short | |
| public static long | |
| public static short | |
| public ShortBuffer | |
| public short | |
| public ByteBuffer | |
| public int | |
| public long | |
| public short |
| ADVANCE_HEIGHT_MAX | back to summary |
|---|---|
| public static final int ADVANCE_HEIGHT_MAX The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ASCENDER | back to summary |
|---|---|
| public static final int ASCENDER The struct member offsets. | |
| CARET_OFFSET | back to summary |
|---|---|
| public static final int CARET_OFFSET The struct member offsets. | |
| CARET_SLOPE_RISE | back to summary |
|---|---|
| public static final int CARET_SLOPE_RISE The struct member offsets. | |
| CARET_SLOPE_RUN | back to summary |
|---|---|
| public static final int CARET_SLOPE_RUN The struct member offsets. | |
| DESCENDER | back to summary |
|---|---|
| public static final int DESCENDER The struct member offsets. | |
| LINE_GAP | back to summary |
|---|---|
| public static final int LINE_GAP The struct member offsets. | |
| LONG_METRICS | back to summary |
|---|---|
| public static final int LONG_METRICS The struct member offsets. | |
| METRIC_DATA_FORMAT | back to summary |
|---|---|
| public static final int METRIC_DATA_FORMAT The struct member offsets. | |
| MIN_BOTTOM_SIDE_BEARING | back to summary |
|---|---|
| public static final int MIN_BOTTOM_SIDE_BEARING The struct member offsets. | |
| MIN_TOP_SIDE_BEARING | back to summary |
|---|---|
| public static final int MIN_TOP_SIDE_BEARING The struct member offsets. | |
| NUMBER_OF_VMETRICS | back to summary |
|---|---|
| public static final int NUMBER_OF_VMETRICS The struct member offsets. | |
| RESERVED | back to summary |
|---|---|
| public static final int RESERVED The struct member offsets. | |
| SHORT_METRICS | back to summary |
|---|---|
| public static final int SHORT_METRICS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VERSION | back to summary |
|---|---|
| public static final int VERSION The struct member offsets. | |
| YMAX_EXTENT | back to summary |
|---|---|
| public static final int YMAX_EXTENT The struct member offsets. | |
| TT_VertHeader | back to summary |
|---|---|
| protected TT_VertHeader(long address, ByteBuffer container) | |
| TT_VertHeader | back to summary |
|---|---|
| public TT_VertHeader(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| advance_Height_Max | back to summary |
|---|---|
| public short advance_Height_Max() advance height maximum
| |
| Ascender | back to summary |
|---|---|
public short Ascender()
| |
| caret_Offset | back to summary |
|---|---|
public short caret_Offset()
| |
| caret_Slope_Rise | back to summary |
|---|---|
public short caret_Slope_Rise()
| |
| caret_Slope_Run | back to summary |
|---|---|
public short caret_Slope_Run()
| |
| create | back to summary |
|---|---|
| protected TT_VertHeader create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static TT_VertHeader create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static TT_VertHeader. Create a
| |
| createSafe | back to summary |
|---|---|
| public static TT_VertHeader createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static TT_VertHeader. Like
| |
| Descender | back to summary |
|---|---|
public short Descender()
| |
| Line_Gap | back to summary |
|---|---|
public short Line_Gap()
| |
| long_metrics | back to summary |
|---|---|
public ByteBuffer long_metrics(int capacity)
| |
| metric_Data_Format | back to summary |
|---|---|
public short metric_Data_Format()
| |
| min_Bottom_Side_Bearing | back to summary |
|---|---|
| public short min_Bottom_Side_Bearing() minimum bottom-sb
| |
| min_Top_Side_Bearing | back to summary |
|---|---|
| public short min_Top_Side_Bearing() minimum top-sb
| |
| nadvance_Height_Max | back to summary |
|---|---|
| public static short nadvance_Height_Max(long struct) Unsafe version of | |
| nAscender | back to summary |
|---|---|
| public static short nAscender(long struct) Unsafe version of | |
| ncaret_Offset | back to summary |
|---|---|
| public static short ncaret_Offset(long struct) Unsafe version of | |
| ncaret_Slope_Rise | back to summary |
|---|---|
| public static short ncaret_Slope_Rise(long struct) Unsafe version of | |
| ncaret_Slope_Run | back to summary |
|---|---|
| public static short ncaret_Slope_Run(long struct) Unsafe version of | |
| nDescender | back to summary |
|---|---|
| public static short nDescender(long struct) Unsafe version of | |
| nLine_Gap | back to summary |
|---|---|
| public static short nLine_Gap(long struct) Unsafe version of | |
| nlong_metrics | back to summary |
|---|---|
| public static ByteBuffer nlong_metrics(long struct, int capacity) Unsafe version of
| |
| nmetric_Data_Format | back to summary |
|---|---|
| public static short nmetric_Data_Format(long struct) Unsafe version of | |
| nmin_Bottom_Side_Bearing | back to summary |
|---|---|
| public static short nmin_Bottom_Side_Bearing(long struct) Unsafe version of | |
| nmin_Top_Side_Bearing | back to summary |
|---|---|
| public static short nmin_Top_Side_Bearing(long struct) Unsafe version of | |
| nnumber_Of_VMetrics | back to summary |
|---|---|
| public static short nnumber_Of_VMetrics(long struct) Unsafe version of | |
| nReserved | back to summary |
|---|---|
| public static ShortBuffer nReserved(long struct) Unsafe version of | |
| nReserved | back to summary |
|---|---|
| public static short nReserved(long struct, int index) Unsafe version of | |
| nshort_metrics | back to summary |
|---|---|
| public static ByteBuffer nshort_metrics(long struct, int capacity) Unsafe version of
| |
| number_Of_VMetrics | back to summary |
|---|---|
public short number_Of_VMetrics()
| |
| nVersion | back to summary |
|---|---|
| public static long nVersion(long struct) Unsafe version of | |
| nyMax_Extent | back to summary |
|---|---|
| public static short nyMax_Extent(long struct) Unsafe version of | |
| Reserved | back to summary |
|---|---|
public ShortBuffer Reserved()
| |
| Reserved | back to summary |
|---|---|
public short Reserved(int index)
| |
| short_metrics | back to summary |
|---|---|
public ByteBuffer short_metrics(int capacity)
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| Version | back to summary |
|---|---|
public long Version()
| |
| yMax_Extent | back to summary |
|---|---|
| public short yMax_Extent() ymax extents
| |
TT_VertHeader structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final TT_VertHeader |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| protected TT_VertHeader | |
| public short | |
| public ByteBuffer | |
| public short | |
| public short | |
| public short | |
| public short | |
| public ShortBuffer | |
| public short | |
| protected TT_VertHeader. | |
| public ByteBuffer | |
| public long | |
| public short |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final TT_VertHeader ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| advance_Height_Max | back to summary |
|---|---|
public short advance_Height_Max()
| |
| Ascender | back to summary |
|---|---|
public short Ascender()
| |
| caret_Offset | back to summary |
|---|---|
public short caret_Offset()
| |
| caret_Slope_Rise | back to summary |
|---|---|
public short caret_Slope_Rise()
| |
| caret_Slope_Run | back to summary |
|---|---|
public short caret_Slope_Run()
| |
| Descender | back to summary |
|---|---|
public short Descender()
| |
| getElementFactory | back to summary |
|---|---|
| protected TT_VertHeader getElementFactory() Implements abstract org.
| |
| Line_Gap | back to summary |
|---|---|
public short Line_Gap()
| |
| long_metrics | back to summary |
|---|---|
public ByteBuffer long_metrics(int capacity)
| |
| metric_Data_Format | back to summary |
|---|---|
public short metric_Data_Format()
| |
| min_Bottom_Side_Bearing | back to summary |
|---|---|
public short min_Bottom_Side_Bearing()
| |
| min_Top_Side_Bearing | back to summary |
|---|---|
public short min_Top_Side_Bearing()
| |
| number_Of_VMetrics | back to summary |
|---|---|
public short number_Of_VMetrics()
| |
| Reserved | back to summary |
|---|---|
public ShortBuffer Reserved()
| |
| Reserved | back to summary |
|---|---|
public short Reserved(int index)
| |
| self | back to summary |
|---|---|
| protected TT_VertHeader. Implements abstract org.
| |
| short_metrics | back to summary |
|---|---|
public ByteBuffer short_metrics(int capacity)
| |
| Version | back to summary |
|---|---|
public long Version()
| |
| yMax_Extent | back to summary |
|---|---|
public short yMax_Extent()
| |