mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-15 09:44:46 +00:00
[Coverage] Fix cache cost reporting
This commit is contained in:
parent
5be62a9f66
commit
7a746c3295
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue