summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/fonts.c')
-rw-r--r--pango/fonts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 4ba9d3fe..262ed15f 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1879,6 +1879,8 @@ pango_font_get_hb_font (PangoFont *font)
priv->hb_font = PANGO_FONT_GET_CLASS (font)->create_hb_font (font);
+ hb_font_make_immutable (priv->hb_font);
+
return priv->hb_font;
}