* src/psaux/psft.c (cf2_setGlyphWidth): Check format before setting.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4377
This commit is contained in:
parent
b9bd2d14e2
commit
bec14f6889
|
@ -1,3 +1,11 @@
|
|||
2017-11-22 Ewald Hew <ewaldhew@gmail.com>
|
||||
|
||||
* src/psaux/psft.c (cf2_setGlyphWidth): Check format before setting.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4377
|
||||
|
||||
2017-11-22 Ewald Hew <ewaldhew@gmail.com>
|
||||
|
||||
[psaux] Fix CFF advance widths. (#52466)
|
||||
|
|
|
@ -95,7 +95,8 @@
|
|||
|
||||
FT_ASSERT( decoder );
|
||||
|
||||
*decoder->glyph_width = cf2_fixedToInt( width );
|
||||
if ( !decoder->builder.is_t1 )
|
||||
*decoder->glyph_width = cf2_fixedToInt( width );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue