mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
[ot-font] Release v-origins caches
This commit is contained in:
1 parent
cbc928fa79
commit
ecc5c4880d
1 file changed
+2
-2
+2
-2
@@ -650,6 +650,7 @@ hb_ot_get_glyph_v_origins (hb_font_t *font,
|
||||
first_glyph = &StructAtOffsetUnaligned<hb_codepoint_t> (first_glyph, glyph_stride);
|
||||
first_y = &StructAtOffsetUnaligned<hb_position_t> (first_y, y_stride);
|
||||
}
|
||||
ot_font->v_origin.release_origin_cache (origin_cache);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -685,7 +686,7 @@ hb_ot_get_glyph_v_origins (hb_font_t *font,
|
||||
if (gvar_cache)
|
||||
ot_font->draw.release_gvar_cache (gvar_cache);
|
||||
glyf.release_scratch (scratch);
|
||||
|
||||
ot_font->v_origin.release_origin_cache (origin_cache);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -723,7 +724,6 @@ hb_ot_get_glyph_v_origins (hb_font_t *font,
|
||||
}
|
||||
|
||||
ot_font->v_origin.release_origin_cache (origin_cache);
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user