Correctly initialize ptem

pull/564/head
Behdad Esfahbod 7 years ago
parent 84686bf4c7
commit 269cf1ca82
  1. 1
      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);

Loading…
Cancel
Save