Correctly initialize ptem
This commit is contained in:
parent
84686bf4c7
commit
269cf1ca82
@ -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…
Reference in New Issue
Block a user