summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2013-06-03 12:41:58 +0200
committerWerner Lemberg <wl@gnu.org>2013-06-03 12:41:58 +0200
commit2429dc3d7c209a35d2026fa9f864e0ba785cf697 (patch)
treeb80c85e76f6b32bc9b14154831c9a32226d99928 /devel
parentf9cceeb4e314656403e183ec9ddf181819fac808 (diff)
downloadfreetype2-2429dc3d7c209a35d2026fa9f864e0ba785cf697.tar.gz
Add CFF_CONFIG_OPTION_OLD_ENGINE configuration option.
This controls whether the old FreeType CFF engine gets compiled into FreeType. It is now disabled by default. * devel/ftoption.h, include/freetype/config/ftoption.h (CFF_CONFIG_OPTION_OLD_ENGINE): New macro. * src/cff/cffdrivr.c (cff_property_set), src/cff/cffgload.c (CFF_Operator, cff_argument_counts, cff_builder_add_point, cff_operator_seac, cff_decoder_parse_charstrings, cff_slot_load), src/cff/cffgload.h, src/cff/cffobjs.c (cff_driver_init): Use CFF_CONFIG_OPTION_OLD_ENGINE to guard the affected code. * docs/CHANGES: Updated.
Diffstat (limited to 'devel')
-rw-r--r--devel/ftoption.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/ftoption.h b/devel/ftoption.h
index 069601805..ccb2321fa 100644
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -752,6 +752,25 @@ FT_BEGIN_HEADER
/*************************************************************************/
/*************************************************************************/
/**** ****/
+ /**** C F F D R I V E R C O N F I G U R A T I O N ****/
+ /**** ****/
+ /*************************************************************************/
+ /*************************************************************************/
+
+
+ /*************************************************************************/
+ /* */
+ /* CFF_CONFIG_OPTION_OLD_ENGINE controls whether the pre-Adobe CFF */
+ /* engine gets compiled into FreeType. If defined, it is possible to */
+ /* switch between the two engines using the `hinting-engine' property of */
+ /* the cff driver module. */
+ /* */
+/* #define CFF_CONFIG_OPTION_OLD_ENGINE */
+
+
+ /*************************************************************************/
+ /*************************************************************************/
+ /**** ****/
/**** A U T O F I T M O D U L E C O N F I G U R A T I O N ****/
/**** ****/
/*************************************************************************/