Fix handling of `dup' CFF instruction.

Problem and solution reported by Ning Dong <flintning@163.com>.

* src/cff/cffgload.c (cff_decoder_parse_charstrings) <cff_op_dup>:
Increase `args' by 2, not 1.
This commit is contained in:
Werner Lemberg 2009-10-18 10:47:11 +02:00
parent e1e723012d
commit d90567b1e6
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2009-10-18 Werner Lemberg <wl@gnu.org>
Fix handling of `dup' CFF instruction.
Problem and solution reported by Ning Dong <flintning@163.com>.
* src/cff/cffgload.c (cff_decoder_parse_charstrings) <cff_op_dup>:
Increase `args' by 2, not 1.
2009-10-10 Werner Lemberg <wl@gnu.org>
* Version 2.3.11 released.

View File

@ -2106,7 +2106,7 @@
FT_TRACE4(( " dup\n" ));
args[1] = args[0];
args++;
args += 2;
break;
case cff_op_put: