提交 269cf1ca 编写于 作者: B Behdad Esfahbod

Correctly initialize ptem

上级 84686bf4
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册