diff options
author | Dave Arnold <darnold@adobe.com> | 2016-11-11 13:59:24 -0800 |
---|---|---|
committer | Dave Arnold <darnold@adobe.com> | 2016-11-11 13:59:24 -0800 |
commit | e3ef1df506fe6cf4a5971e5bab3c663770506939 (patch) | |
tree | 851e06163d36665fce7089f0200b53519ea4631f | |
parent | c156b734dd1f23ef516e4e4b08aae254b25b055a (diff) | |
download | freetype2-e3ef1df506fe6cf4a5971e5bab3c663770506939.tar.gz |
Disable seac for CFF2
-rw-r--r-- | src/cff/cf2intrp.c | 3 |
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 */ |