forked from minhngoc25a/freetype2
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:
parent
e1e723012d
commit
d90567b1e6
|
@ -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>
|
2009-10-10 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* Version 2.3.11 released.
|
* Version 2.3.11 released.
|
||||||
|
|
|
@ -2106,7 +2106,7 @@
|
||||||
FT_TRACE4(( " dup\n" ));
|
FT_TRACE4(( " dup\n" ));
|
||||||
|
|
||||||
args[1] = args[0];
|
args[1] = args[0];
|
||||||
args++;
|
args += 2;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case cff_op_put:
|
case cff_op_put:
|
||||||
|
|
Loading…
Reference in New Issue