[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Oct 11 13:25:13 UTC 2017


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

New commits:
commit 269cf1ca82c34c6f6ea126e7333743e5c381453b
Author: Behdad Esfahbod <behdad at behdad.org>
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);
 


More information about the HarfBuzz mailing list