[cff] Revert last change.
* src/cff/cffgload.c (cff_decoder_parse_charstrings): Do it. Next time, don't confuse Type 2 charstring opcodes with TOP DICT values...
This commit is contained in:
parent
b34c9b49cc
commit
541ab5adda
@ -1,3 +1,11 @@
|
||||
2009-06-20 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[cff] Revert last change.
|
||||
|
||||
* src/cff/cffgload.c (cff_decoder_parse_charstrings): Do it.
|
||||
Next time, don't confuse Type 2 charstring opcodes with TOP DICT
|
||||
values...
|
||||
|
||||
2009-06-20 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/autofit/aflatin.c (af_latin_metrics_check_digits): Fix
|
||||
|
@ -938,9 +938,17 @@
|
||||
goto Syntax_Error;
|
||||
val = -( (FT_Long)v - 251 ) * 256 - *ip++ - 108;
|
||||
}
|
||||
else /* 255 */
|
||||
goto Syntax_Error;
|
||||
|
||||
else
|
||||
{
|
||||
if ( ip + 3 >= limit )
|
||||
goto Syntax_Error;
|
||||
val = ( (FT_Int32)ip[0] << 24 ) |
|
||||
( (FT_Int32)ip[1] << 16 ) |
|
||||
( (FT_Int32)ip[2] << 8 ) |
|
||||
ip[3];
|
||||
ip += 4;
|
||||
shift = 0;
|
||||
}
|
||||
if ( decoder->top - stack >= CFF_MAX_OPERANDS )
|
||||
goto Stack_Overflow;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user