diff --git a/src/hb-ot-layout-base-table.hh b/src/hb-ot-layout-base-table.hh index 02fe14fa0..c2c2b2b7a 100644 --- a/src/hb-ot-layout-base-table.hh +++ b/src/hb-ot-layout-base-table.hh @@ -384,7 +384,7 @@ struct Axis if (likely (coord)) { unsigned int tag_index = 0; - (this+baseTagList).bfind (baseline_tag, &tag_index); + if (!(this+baseTagList).bfind (baseline_tag, &tag_index)) return false; *coord = &base_script.get_base_coord (tag_index); }