initialize last_x and last_y

This commit is contained in:
Vincent Wei
2023-08-01 16:55:11 +08:00
parent bc7d5f6ce0
commit 3a9cbfdd9b

View File

@@ -516,6 +516,8 @@ do_glyph:
_txt.pdc = pdc;
_txt.x = 0;
_txt.y = 0;
_txt.last_x = 0;
_txt.last_y = 0;
_txt.advance = 0;
_txt.nFormat = ctxt->nFormat;
_txt.only_extent = TRUE;