commit | 9428ee42c0100381a60c57544773ae58c4d1028c | [log] [tgz] |
---|---|---|
author | Ewald Hew <ewaldhew@gmail.com> | Mon Sep 25 06:15:46 2017 +0200 |
committer | Werner Lemberg <wl@gnu.org> | Mon Sep 25 09:26:59 2017 +0200 |
tree | 1b9c94b13c0c539a04a2db76062a482609cd61cb | |
parent | 0589e3c01212fc77470ddde13d379a16170af151 [diff] |
Prepare for Type 1 mode. Add some checks for Type 1 data passing through. * src/psaux/psfont.h (CF2_Font): Add `isT1' flag. * src/psaux/psfont.c (cf2_font_setup): Skip the variations and blend code which is not applicable for Type 1. * src/psaux/psft.c (cf2_decoder_parse_charstrings): Avoid accessing `decoder->cff' in Type 1 mode. Copy `is_t1' flag to `CF2_Font'.