mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 01:00:37 +00:00
[baseline] Use ot-metrics fallback API
This commit is contained in:
parent
965cf1d665
commit
6bf8f0a38f
1 changed files with 1 additions and 1 deletions
|
@ -2116,7 +2116,7 @@ hb_ot_layout_get_baseline_with_fallback (hb_font_t *font,
|
|||
else
|
||||
{
|
||||
hb_position_t x_height = 0;
|
||||
hb_ot_metrics_get_position (font, HB_OT_METRICS_TAG_X_HEIGHT, &x_height);
|
||||
hb_ot_metrics_get_position_with_fallback (font, HB_OT_METRICS_TAG_X_HEIGHT, &x_height);
|
||||
*coord = x_height / 2;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue