[Coverage] Fix cache cost reporting

bloom
Behdad Esfahbod 1 week ago
parent 5be62a9f66
commit 7a746c3295
  1. 2
      src/OT/Layout/Common/CoverageFormat1.hh

@ -103,7 +103,7 @@ struct CoverageFormat1_3
intersect_glyphs << glyphArray[i];
}
unsigned cost () const { return 1; }
unsigned cost () const { return hb_bit_storage ((unsigned) glyphArray.len); /* bsearch cost */ }
template <typename set_t>
bool collect_coverage (set_t *glyphs) const

Loading…
Cancel
Save