From bbf0c6e781674d8a143f032f8357a7279dc62cb9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 2 Apr 2025 02:11:25 -0600 Subject: [PATCH] [font] Bump coords serial if face changed Such that ot-font clears its advance cache --- src/hb-font.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-font.cc b/src/hb-font.cc index b73a87048..1c63b0344 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -2212,6 +2212,7 @@ hb_font_set_face (hb_font_t *font, hb_face_destroy (old); font->changed (); + font->serial_coords = font->serial; } /**