Commit 0634cedb62912ea9657af787d026ad1310e76efc

Werner Lemberg 2000-10-09T01:44:40

patch from Tom to fix a problem with path_begun.

diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c
index 69e16fc..8bff109 100644
--- a/src/psaux/t1decode.c
+++ b/src/psaux/t1decode.c
@@ -784,7 +784,8 @@
           FT_TRACE4(( " hmoveto" ));
 
           x += top[0];
-          builder->path_begun = 0;
+          if ( !decoder->flex_state )
+            builder->path_begun = 0;
           break;
 
         case op_hvcurveto:
@@ -822,7 +823,8 @@
 
           x += top[0];
           y += top[1];
-          builder->path_begun = 0;
+          if ( !decoder->flex_state )
+            builder->path_begun = 0;
           break;
 
         case op_rrcurveto:
@@ -874,7 +876,8 @@
           FT_TRACE4(( " vmoveto" ));
 
           y += top[0];
-          builder->path_begun = 0;
+          if ( !decoder->flex_state )
+            builder->path_begun = 0;
           break;
 
         case op_div: