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

david-pic-changes
Just van Rossum 25 years ago
parent dd81f42282
commit 2fd491d5f3
  1. 3
      src/type1z/z1gload.c

@ -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:

Loading…
Cancel
Save