[CBDT] Fix offset handling

Fixes https://github.com/harfbuzz/harfbuzz/issues/960
This commit is contained in:
Behdad Esfahbod committed 2018-10-14 21:08:42 -07:00
1 parent da744c6b3e
commit 6aee3bb87c
1 file changed
+1 -1
+1 -1
View File
@@ -206,7 +206,7 @@ struct IndexSubtableRecord
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) &&
firstGlyphIndex <= lastGlyphIndex &&
offsetToSubtable.sanitize (c, this, lastGlyphIndex - firstGlyphIndex + 1));
offsetToSubtable.sanitize (c, base, lastGlyphIndex - firstGlyphIndex + 1));
}
inline bool get_extents (hb_glyph_extents_t *extents) const