src/hb-font.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 269cf1ca82c34c6f6ea126e7333743e5c381453b
Author: Behdad Esfahbod <[email protected]>
Date:   Wed Oct 11 15:24:22 2017 +0200

    Correctly initialize ptem

diff --git a/src/hb-font.cc b/src/hb-font.cc
index 88842079..a43656d9 100644
--- a/src/hb-font.cc
+++ b/src/hb-font.cc
@@ -1124,6 +1124,7 @@ hb_font_create (hb_face_t *face)
   font->parent = hb_font_get_empty ();
   font->face = hb_face_reference (face);
   font->klass = hb_font_funcs_get_empty ();
+  font->ptem = -1;
 
   font->x_scale = font->y_scale = hb_face_get_upem (face);
 
_______________________________________________
HarfBuzz mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to