Fixed Z1_Parse_CharStrings() to work correctly with "open" paths (ie. missing closepath operator)

This commit is contained in:
Just van Rossum 2000-08-01 23:37:25 +00:00
parent dd81f42282
commit 2fd491d5f3
1 changed files with 3 additions and 0 deletions

View File

@ -1045,6 +1045,7 @@
FT_TRACE4(( " hmoveto" ));
x += top[0];
builder->path_begun = 0;
break;
case op_hvcurveto:
@ -1082,6 +1083,7 @@
x += top[0];
y += top[1];
builder->path_begun = 0;
break;
case op_rrcurveto:
@ -1133,6 +1135,7 @@
FT_TRACE4(( " vmoveto" ));
y += top[0];
builder->path_begun = 0;
break;
case op_div: