summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-11-14 09:56:30 -0500
committerBehdad Esfahbod <behdad@behdad.org>2018-11-14 09:57:05 -0500
commit48d16c2ab2b181c733accd4fd9730963e59b6323 (patch)
tree40fbbcebfde3d0f92a6bfb65fa60167e5a640554
parent29db2a44a6b7a28ade5e288779dbf5a200b43acd (diff)
[hmtx] Fix signedness issue
Fixes https://github.com/harfbuzz/harfbuzz/issues/1248#issuecomment-438689499
-rw-r--r--src/hb-ot-hmtx-table.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hb-ot-hmtx-table.hh b/src/hb-ot-hmtx-table.hh
index 20948edb..80994c15 100644
--- a/src/hb-ot-hmtx-table.hh
+++ b/src/hb-ot-hmtx-table.hh
@@ -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;