[font] Bump coords serial if face changed

Such that ot-font clears its advance cache
This commit is contained in:
Behdad Esfahbod 2025-04-02 02:11:25 -06:00
parent 321c14c920
commit bbf0c6e781

View file

@ -2212,6 +2212,7 @@ hb_font_set_face (hb_font_t *font,
hb_face_destroy (old);
font->changed ();
font->serial_coords = font->serial;
}
/**