commit | b9bd2d14e2836122028b4f41eee937fc31e6b93c | [log] [tgz] |
---|---|---|
author | Ewald Hew <ewaldhew@gmail.com> | Wed Nov 22 04:32:47 2017 |
committer | Ewald Hew <ewaldhew@gmail.com> | Wed Nov 22 04:38:36 2017 |
tree | f473b0790553cde8d84e2ba5aaff05158a9d0089 | |
parent | 954710ddd756733b851c0d2e472b93cbb9a6a44a [diff] |
[psaux] Fix CFF advance widths. (#52466) Glyph advance widths were being written to the new `PS_Decoder' but not saved to the underlying format specific decoder. This caused pure CFF fonts to have bad advance width. * include/freetype/internal/psaux.h (PS_Decoder): Change `glyph_width' field to pointer. Remove unused fields. * src/psaux/psobjs.c (ps_decoder_init): Change `glyph_width' from copy to reference. Remove unused. * src/psaux/psft.c (cf2_setGlyphWidth): Update code.