mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
[CBDT] Fix offset handling
Fixes https://github.com/harfbuzz/harfbuzz/issues/960
This commit is contained in:
1 parent
da744c6b3e
commit
6aee3bb87c
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user