[pango/kill-ft-face: 18/18] coretext: Make hb_font_t immutable



commit 9376517567f1edbcd9c89bcc8b8afaa15cc1cbf6
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jul 18 12:24:37 2019 -0700

    coretext: Make hb_font_t immutable

 pango/pangocoretext.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/pango/pangocoretext.c b/pango/pangocoretext.c
index 32609a3d..d682b07d 100644
--- a/pango/pangocoretext.c
+++ b/pango/pangocoretext.c
@@ -223,6 +223,8 @@ pango_core_text_font_create_hb_font (PangoFont *font)
       hb_font = hb_coretext_font_create (ctfont->priv->font_ref);
       hb_font_set_scale (hb_font, size, size);
 
+      hb_font_make_immutable (hb_font);
+
       return hb_font;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]