[hmtx] Fix signedness issue

Fixes https://github.com/harfbuzz/harfbuzz/issues/1248#issuecomment-438689499
This commit is contained in:
Behdad Esfahbod 2018-11-14 09:56:30 -05:00
parent 29db2a44a6
commit 48d16c2ab2

View File

@ -289,9 +289,9 @@ struct hmtxvmtx
public:
bool has_font_extents;
unsigned short ascender;
unsigned short descender;
unsigned short line_gap;
int ascender;
int descender;
int line_gap;
protected:
unsigned int num_metrics;