Revert "Don't include codepoint 0 in the results of collect_unicodes."
This reverts commit 14ad96ffbf
.
This was wrong. My bad!
https://github.com/harfbuzz/harfbuzz/issues/2031
This commit is contained in:
parent
2714dc31b8
commit
03028a5fe5
|
@ -1324,13 +1324,7 @@ struct cmap
|
|||
}
|
||||
|
||||
void collect_unicodes (hb_set_t *out) const
|
||||
{
|
||||
subtable->collect_unicodes (out);
|
||||
// Never include unicode codepoint 0 in the set.
|
||||
// This is assumed to be the notdef glyph.
|
||||
out->del (0);
|
||||
}
|
||||
|
||||
{ subtable->collect_unicodes (out); }
|
||||
void collect_variation_selectors (hb_set_t *out) const
|
||||
{ subtable_uvs->collect_variation_selectors (out); }
|
||||
void collect_variation_unicodes (hb_codepoint_t variation_selector,
|
||||
|
|
Loading…
Reference in New Issue