Rev 1892 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1892 | Rev 3959 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | #define TT_TAG_hhea MAKE_TT_TAG('h','h','e','a') |
62 | #define TT_TAG_hhea MAKE_TT_TAG('h','h','e','a') |
63 | #define TT_TAG_hmtx MAKE_TT_TAG('h','m','t','x') |
63 | #define TT_TAG_hmtx MAKE_TT_TAG('h','m','t','x') |
64 | #define TT_TAG_loca MAKE_TT_TAG('l','o','c','a') |
64 | #define TT_TAG_loca MAKE_TT_TAG('l','o','c','a') |
65 | #define TT_TAG_maxp MAKE_TT_TAG('m','a','x','p') |
65 | #define TT_TAG_maxp MAKE_TT_TAG('m','a','x','p') |
66 | #define TT_TAG_name MAKE_TT_TAG('n','a','m','e') |
66 | #define TT_TAG_name MAKE_TT_TAG('n','a','m','e') |
- | 67 | #define TT_TAG_OS2 MAKE_TT_TAG('O','S','/','2') |
|
67 | #define TT_TAG_post MAKE_TT_TAG('p','o','s','t') |
68 | #define TT_TAG_post MAKE_TT_TAG('p','o','s','t') |
68 | #define TT_TAG_prep MAKE_TT_TAG('p','r','e','p') |
69 | #define TT_TAG_prep MAKE_TT_TAG('p','r','e','p') |
Line 69... | Line 70... | ||
69 | 70 | ||
70 | /* All tt_* structs are big-endian */ |
71 | /* All tt_* structs are big-endian */ |
Line 172... | Line 173... | ||
172 | uint16_t strings_offset; |
173 | uint16_t strings_offset; |
173 | tt_name_record_t records[1]; |
174 | tt_name_record_t records[1]; |
174 | } tt_name_t; |
175 | } tt_name_t; |
Line -... | Line 176... | ||
- | 176 | ||
- | 177 | ||
- | 178 | /* bitmask for fsSelection field */ |
|
- | 179 | #define TT_FS_SELECTION_ITALIC 1 |
|
- | 180 | #define TT_FS_SELECTION_BOLD 32 |
|
- | 181 | ||
- | 182 | /* _unused fields are defined in TT spec but not used by cairo */ |
|
- | 183 | typedef struct _tt_os2 { |
|
- | 184 | uint16_t _unused1[2]; |
|
- | 185 | uint16_t usWeightClass; |
|
- | 186 | uint16_t _unused2[28]; |
|
- | 187 | uint16_t fsSelection; |
|
Line 175... | Line 188... | ||
175 | 188 | uint16_t _unused3[11]; |
|
176 | 189 | } tt_os2_t; |
|
177 | 190 | ||
178 | /* composite_glyph_t flags */ |
191 | /* composite_glyph_t flags */ |