mirror of https://github.com/freetype/freetype
Fixed Z1_Parse_CharStrings() to work correctly with "open" paths (ie. missing closepath operator)
This commit is contained in:
parent
dd81f42282
commit
2fd491d5f3
|
@ -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…
Reference in New Issue