HPGS - HPGl Script
|
A truetype font header. More...
#include <hpgsfont.h>
Data Fields | |
int32_t | version |
uint16_t | numtab |
uint16_t | searchRange |
uint16_t | entrySel |
uint16_t | rangeShift |
hpgs_font_table_entry | tables [HPGS_FONT_MAX_TTF_TABLES] |
int | name_table |
int | head_table |
int | hhea_table |
int | maxp_table |
int | hmtx_table |
int | loca_table |
int | cmap_table |
int | post_table |
int | glyf_table |
int | kern_table |
A truetype font header.
This structure holds all the header information of a truetype font and is used when scanning a fon directory as well as a part of an open font file.
int hpgs_font_header_st::cmap_table |
The position of the cmap table.
uint16_t hpgs_font_header_st::entrySel |
Log2(Max power of 2 <= numtab )
int hpgs_font_header_st::glyf_table |
The position of the glyf table.
int hpgs_font_header_st::head_table |
The position of the head table.
int hpgs_font_header_st::hhea_table |
The position of the hhea table.
int hpgs_font_header_st::hmtx_table |
The position of the hmtx table.
int hpgs_font_header_st::kern_table |
The position of the kern table.
int hpgs_font_header_st::loca_table |
The position of the loca table.
int hpgs_font_header_st::maxp_table |
The position of the maxp table.
int hpgs_font_header_st::name_table |
The position of the name table.
uint16_t hpgs_font_header_st::numtab |
The number truetype tables in this file.
int hpgs_font_header_st::post_table |
The position of the post table.
uint16_t hpgs_font_header_st::rangeShift |
numtab*16 - searchRange
uint16_t hpgs_font_header_st::searchRange |
(Max power of 2 <= numtab) *16
hpgs_font_table_entry hpgs_font_header_st::tables[HPGS_FONT_MAX_TTF_TABLES] |
The truetype table entries.
int32_t hpgs_font_header_st::version |
0x00010000