mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-06 14:05:05 +00:00
[ot] Make v_origin work for more glyph formats
This commit is contained in:
parent
1358e38154
commit
c39ac0e171
1 changed files with 2 additions and 1 deletions
|
@ -363,7 +363,8 @@ hb_ot_get_glyph_v_origin (hb_font_t *font,
|
|||
}
|
||||
|
||||
hb_glyph_extents_t extents = {0};
|
||||
if (ot_face->glyf->get_extents (font, glyph, &extents))
|
||||
|
||||
if (hb_font_get_glyph_extents (font, glyph, &extents))
|
||||
{
|
||||
const OT::vmtx_accelerator_t &vmtx = *ot_face->vmtx;
|
||||
int tsb = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue