Correctly initialize ptem

This commit is contained in:
Behdad Esfahbod 2017-10-11 15:24:22 +02:00
parent 84686bf4c7
commit 269cf1ca82
1 changed files with 1 additions and 0 deletions

View File

@ -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);