* src/psaux/psft.c (cf2_setGlyphWidth): Check format before setting.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4377
GSoC-2017-kushal
Ewald Hew 7 years ago
parent b9bd2d14e2
commit bec14f6889
  1. 8
      ChangeLog
  2. 3
      src/psaux/psft.c

@ -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…
Cancel
Save