commit | 16cbebac120e3cd32d2f01341fc477397cdc915d | [log] [tgz] |
---|---|---|
author | Ewald Hew <ewaldhew@gmail.com> | Thu Aug 10 09:17:29 2017 +0800 |
committer | Ewald Hew <ewaldhew@gmail.com> | Mon Aug 21 14:17:44 2017 +0800 |
tree | c31e178a712f416060a5c1c2aea7ebce5a5657fe | |
parent | 6f2d3cfb2a78d5d69598f1b5f3cbdd9fdcdb44e3 [diff] |
[psaux] Fix Type 1 hinting. Type 1 hinting breaks sometimes when mid-charstring hints should have been in the initial hintmap. This fix adds a preprocessing pass that reads all hints and builds the correct initial hintmap first, before proceeding to build the glyph outline. * src/psaux/psintrp.c (cf2_interpT2CharString): Add boolean flag. Ignore outline commands and hint changes on first pass. <endchar>: Add section to build hintmap and rewind.