summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-10-14 21:08:42 -0700
committerBehdad Esfahbod <behdad@behdad.org>2018-10-14 21:08:42 -0700
commit6aee3bb87cee88525b745a640df294cb721245f6 (patch)
treef673f96a95b56896e4ae003f2614c5ba05fb48dd
parentda744c6b3e79b778f414ec9f4d9070d06ec2a706 (diff)
[CBDT] Fix offset handling
Fixes https://github.com/harfbuzz/harfbuzz/issues/960
-rw-r--r--src/hb-ot-color-cbdt-table.hh2
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