diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-10-14 21:08:42 -0700 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-10-14 21:08:42 -0700 |
commit | 6aee3bb87cee88525b745a640df294cb721245f6 (patch) | |
tree | f673f96a95b56896e4ae003f2614c5ba05fb48dd | |
parent | da744c6b3e79b778f414ec9f4d9070d06ec2a706 (diff) |
[CBDT] Fix offset handling
Fixes https://github.com/harfbuzz/harfbuzz/issues/960
-rw-r--r-- | src/hb-ot-color-cbdt-table.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-color-cbdt-table.hh b/src/hb-ot-color-cbdt-table.hh index 04847a74..4c415932 100644 --- a/src/hb-ot-color-cbdt-table.hh +++ b/src/hb-ot-color-cbdt-table.hh @@ -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 |