diff options
author | Ewald Hew <ewaldhew@gmail.com> | 2017-10-12 18:13:21 +0800 |
---|---|---|
committer | Ewald Hew <ewaldhew@gmail.com> | 2017-10-12 18:32:50 +0800 |
commit | dff40d03dff05734b8bf026716b780688f89e830 (patch) | |
tree | 680ffedb52959537286fbefe3a5144f94676ec1d /devel | |
parent | 78df3c27b651e3de068437ac35ee2214849badb9 (diff) | |
download | freetype2-dff40d03dff05734b8bf026716b780688f89e830.tar.gz |
Add T1_CONFIG_OPTION_OLD_ENGINE configuration option.
This controls whether the old Type 1 engine gets compiled into FreeType.
It is disabled by default.
* devel/ftoption.h, include/freetype/config/ftoption.h
(T1_CONFIG_OPTION_OLD_ENGINE): New macro.
* include/freetype/internal/psaux.h (PS_Decoder): Remove unused field.
* include/freetype/internal/psaux.h, src/cid/cidgload.c
(cid_load_glyph), src/psaux/psauxmod.c, src/psaux/psobjs.c
(ps_builder_add_point), src/psaux/t1decode.c
(t1_lookup_glyph_by_stdcharcode, t1_decoder_parse_glyph,
t1operator_seac, t1_decoder_parse_charstrings), src/psaux/t1decode.h,
src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String): Surround
relevant code with macro.
Minor code changes.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ftoption.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/ftoption.h b/devel/ftoption.h index 11a2d1f49..fadda13a6 100644 --- a/devel/ftoption.h +++ b/devel/ftoption.h @@ -745,6 +745,16 @@ FT_BEGIN_HEADER /*************************************************************************/ + /* */ + /* T1_CONFIG_OPTION_OLD_ENGINE controls whether the pre-Adobe Type 1 */ + /* engine gets compiled into FreeType. If defined, it is possible to */ + /* switch between the two engines using the `hinting-engine' property of */ + /* the type1 driver module. */ + /* */ +/* #define T1_CONFIG_OPTION_OLD_ENGINE */ + + + /*************************************************************************/ /*************************************************************************/ /**** ****/ /**** C F F D R I V E R C O N F I G U R A T I O N ****/ |