mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 09:58:02 +02:00
Fixed Z1_Parse_CharStrings() to work correctly with "open" paths (ie. missing closepath operator)
This commit is contained in:
parent
0c99641a25
commit
e092162ac7
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue