mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 05:25:05 +00:00
[COLR] Lets see if this makes CIFUZZ any happier
This commit is contained in:
parent
008505e1c4
commit
5462978c90
1 changed files with 6 additions and 6 deletions
|
@ -2476,8 +2476,8 @@ struct COLR
|
|||
* after instancing */
|
||||
if (!subset_varstore (c, colr_prime)) return_trace (false);
|
||||
|
||||
ItemVarStoreInstancer instancer (varStore ? &(this+varStore) : nullptr,
|
||||
varIdxMap ? &(this+varIdxMap) : nullptr,
|
||||
ItemVarStoreInstancer instancer (&(get_var_store ()),
|
||||
&(get_delta_set_index_map ()),
|
||||
c->plan->normalized_coords.as_array ());
|
||||
|
||||
if (!colr_prime->baseGlyphList.serialize_subset (c, baseGlyphList, this, instancer))
|
||||
|
@ -2509,8 +2509,8 @@ struct COLR
|
|||
if (version >= 1)
|
||||
{
|
||||
hb_barrier ();
|
||||
ItemVarStoreInstancer instancer (&(this+varStore),
|
||||
&(this+varIdxMap),
|
||||
ItemVarStoreInstancer instancer (&(get_var_store ()),
|
||||
&(get_delta_set_index_map ()),
|
||||
hb_array (font->coords, font->num_coords));
|
||||
|
||||
if (get_clip (glyph, extents, instancer))
|
||||
|
@ -2572,8 +2572,8 @@ struct COLR
|
|||
bool
|
||||
paint_glyph (hb_font_t *font, hb_codepoint_t glyph, hb_paint_funcs_t *funcs, void *data, unsigned int palette_index, hb_color_t foreground, bool clip = true) const
|
||||
{
|
||||
ItemVarStoreInstancer instancer (has_var_store() ? &(this+varStore): nullptr,
|
||||
has_delta_set_index_map() ? &(this+varIdxMap): nullptr,
|
||||
ItemVarStoreInstancer instancer (&(get_var_store ()),
|
||||
&(get_delta_set_index_map ()),
|
||||
hb_array (font->coords, font->num_coords));
|
||||
hb_paint_context_t c (this, funcs, data, font, palette_index, foreground, instancer);
|
||||
c.current_glyphs.add (glyph);
|
||||
|
|
Loading…
Add table
Reference in a new issue