summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Arnold <darnold@adobe.com>2016-11-11 13:59:24 -0800
committerDave Arnold <darnold@adobe.com>2016-11-11 13:59:24 -0800
commite3ef1df506fe6cf4a5971e5bab3c663770506939 (patch)
tree851e06163d36665fce7089f0200b53519ea4631f
parentc156b734dd1f23ef516e4e4b08aae254b25b055a (diff)
downloadfreetype2-e3ef1df506fe6cf4a5971e5bab3c663770506939.tar.gz
Disable seac for CFF2
-rw-r--r--src/cff/cf2intrp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cff/cf2intrp.c b/src/cff/cf2intrp.c
index 2dd13c66d..4bfaa649d 100644
--- a/src/cff/cf2intrp.c
+++ b/src/cff/cf2intrp.c
@@ -1379,7 +1379,8 @@
/* close path if still open */
cf2_glyphpath_closeOpenPath( &glyphPath );
- if ( cf2_stack_count( opStack ) > 1 )
+ /* disable seac for CFF2 (charstring ending with args on stack) */
+ if ( !font->isCFF2 && cf2_stack_count( opStack ) > 1 )
{
/* must be either 4 or 5 -- */
/* this is a (deprecated) implied `seac' operator */