freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master cc2f3cd: [psaux] Correctly handle Flex features (#528


From: Hew Yih Shiuan Ewald
Subject: [freetype2] master cc2f3cd: [psaux] Correctly handle Flex features (#52846).
Date: Wed, 10 Jan 2018 00:28:48 -0500 (EST)

branch: master
commit cc2f3cdecff5a351e7e8961b9f2e389ab740231a
Author: Ewald Hew <address@hidden>
Commit: Ewald Hew <address@hidden>

    [psaux] Correctly handle Flex features (#52846).
    
    * src/psaux/psintrp.c (cf2_interpT2CharString) <cf2_cmdVMOVETO,
    cf2_cmdHMOVETO>: Do not move if doing Flex.
---
 ChangeLog           | 7 +++++++
 src/psaux/psintrp.c | 6 ++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1343401..96359ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-01-10  Ewald Hew  <address@hidden>
+
+       [psaux] Correctly handle Flex features (#52846).
+
+       * src/psaux/psintrp.c (cf2_interpT2CharString) <cf2_cmdVMOVETO,
+       cf2_cmdHMOVETO>: Do not move if doing Flex.
+
 2018-01-09  Alexei Podtelezhnikov  <address@hidden>
 
        * builds/windows/vc2010/freetype.sln: Synchronize with the project.
diff --git a/src/psaux/psintrp.c b/src/psaux/psintrp.c
index 5c0ee78..da5a8da 100644
--- a/src/psaux/psintrp.c
+++ b/src/psaux/psintrp.c
@@ -852,7 +852,8 @@
 
         curY = ADD_INT32( curY, cf2_stack_popFixed( opStack ) );
 
-        cf2_glyphpath_moveTo( &glyphPath, curX, curY );
+        if ( !decoder->flex_state )
+          cf2_glyphpath_moveTo( &glyphPath, curX, curY );
 
         break;
 
@@ -2674,7 +2675,8 @@
 
         curX = ADD_INT32( curX, cf2_stack_popFixed( opStack ) );
 
-        cf2_glyphpath_moveTo( &glyphPath, curX, curY );
+        if ( !decoder->flex_state )
+          cf2_glyphpath_moveTo( &glyphPath, curX, curY );
 
         break;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]