Add 9 reserved entries to hb_font_extents_t

Might add italic-angle, underline/strikethrough-position/thickness
in the future.  Do this before new struct goes into a release.
This commit is contained in:
Behdad Esfahbod 2016-01-07 19:11:41 +00:00
parent e6d5e4c310
commit 25671466d2
1 changed files with 10 additions and 0 deletions

View File

@ -86,6 +86,16 @@ typedef struct hb_font_extents_t
hb_position_t ascender; /* typographic ascender. */
hb_position_t descender; /* typographic descender. */
hb_position_t line_gap; /* suggested line spacing gap. */
/*< private >*/
hb_position_t reserved9;
hb_position_t reserved8;
hb_position_t reserved7;
hb_position_t reserved6;
hb_position_t reserved5;
hb_position_t reserved4;
hb_position_t reserved3;
hb_position_t reserved2;
hb_position_t reserved1;
} hb_font_extents_t;
/* Note that height is negative in coordinate systems that grow up. */