shithub: freetype+ttf2subf

Download patch

ref: 2fd491d5f3ec42287a49d1aa5c0166b46f417fde
parent: dd81f42282914bd7820a402e8e7e08431c9e9992
author: Just van Rossum <[email protected]>
date: Tue Aug 1 19:37:25 EDT 2000

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

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/type1z/z1gload.c
+++ b/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: