diff --git a/src/hb-font.cc b/src/hb-font.cc index f450d8889..5727247af 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -1601,6 +1601,7 @@ hb_font_set_face (hb_font_t *font, hb_face_t *old = font->face; + hb_face_make_immutable (face); font->face = hb_face_reference (face); hb_face_destroy (old);