Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
[psaux] Correctly handle Flex features (#52846).
Browse files Browse the repository at this point in the history
* src/psaux/psintrp.c (cf2_interpT2CharString) <cf2_cmdVMOVETO,
cf2_cmdHMOVETO>: Do not move if doing Flex.
  • Loading branch information
ewaldhew committed Jan 10, 2018
1 parent 3f96c0b commit cc2f3cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
@@ -1,3 +1,10 @@
2018-01-10 Ewald Hew <ewaldhew@gmail.com>

[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 <apodtele@gmail.com>

* builds/windows/vc2010/freetype.sln: Synchronize with the project.
Expand Down
6 changes: 4 additions & 2 deletions src/psaux/psintrp.c
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit cc2f3cd

Please sign in to comment.