[VVAR] Rename vorg function for clarity
This commit is contained in:
parent
b2d60cbd6e
commit
ab5ce64313
|
@ -299,7 +299,7 @@ hb_ot_get_glyph_v_origin (hb_font_t *font,
|
||||||
const OT::vmtx_accelerator_t &vmtx = *ot_face->vmtx;
|
const OT::vmtx_accelerator_t &vmtx = *ot_face->vmtx;
|
||||||
const OT::VVAR &VVAR = *vmtx.var_table;
|
const OT::VVAR &VVAR = *vmtx.var_table;
|
||||||
if (font->num_coords)
|
if (font->num_coords)
|
||||||
VVAR.get_vorg_var (glyph,
|
VVAR.get_vorg_delta_unscaled (glyph,
|
||||||
font->coords, font->num_coords,
|
font->coords, font->num_coords,
|
||||||
&delta);
|
&delta);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -391,7 +391,7 @@ struct VVAR : HVARVVAR {
|
||||||
|
|
||||||
bool subset (hb_subset_context_t *c) const { return HVARVVAR::_subset<VVAR> (c); }
|
bool subset (hb_subset_context_t *c) const { return HVARVVAR::_subset<VVAR> (c); }
|
||||||
|
|
||||||
bool get_vorg_var (hb_codepoint_t glyph,
|
bool get_vorg_delta_unscaled (hb_codepoint_t glyph,
|
||||||
const int *coords, unsigned int coord_count,
|
const int *coords, unsigned int coord_count,
|
||||||
float *delta) const
|
float *delta) const
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue