From aaa85931f3542639cd9d0dfb92fd6baab5b0298d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 20 Aug 2019 13:06:10 -0700 Subject: [PATCH] [font] Update multipliers when creating sub_font Fixes https://github.com/harfbuzz/harfbuzz/issues/1910 --- src/hb-font.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-font.cc b/src/hb-font.cc index dc48df80a..445878bfe 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -1385,6 +1385,7 @@ hb_font_create_sub_font (hb_font_t *parent) font->x_scale = parent->x_scale; font->y_scale = parent->y_scale; + font->mults_changed (); font->x_ppem = parent->x_ppem; font->y_ppem = parent->y_ppem; font->ptem = parent->ptem;