[font] Change fallback y_advance sign

Ouch.
This commit is contained in:
Behdad Esfahbod 2024-10-10 14:16:14 -06:00
parent 9c00255b4a
commit 1a4bdd699a

View file

@ -231,7 +231,7 @@ hb_font_get_glyph_v_advance_nil (hb_font_t *font,
void *user_data HB_UNUSED)
{
/* TODO use font_extents.ascender+descender */
return font->y_scale;
return -font->y_scale;
}
static hb_position_t