| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ftoption.h */ | 3 /* ftoption.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* User-selectable configuration macros (specification only). */ | 5 /* User-selectable configuration macros (specification only). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 1996-2017 by */ | 7 /* Copyright 1996-2017 by */ |
| 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 9 /* */ | 9 /* */ |
| 10 /* This file is part of the FreeType project, and may only be used, */ | 10 /* This file is part of the FreeType project, and may only be used, */ |
| (...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 /* #define FT_CONFIG_OPTION_OLD_INTERNALS */ | 929 /* #define FT_CONFIG_OPTION_OLD_INTERNALS */ |
| 930 | 930 |
| 931 | 931 |
| 932 /* | 932 /* |
| 933 * This macro is defined if native TrueType hinting is requested by the | 933 * This macro is defined if native TrueType hinting is requested by the |
| 934 * definitions above. | 934 * definitions above. |
| 935 */ | 935 */ |
| 936 #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER | 936 #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER |
| 937 #define TT_USE_BYTECODE_INTERPRETER | 937 #define TT_USE_BYTECODE_INTERPRETER |
| 938 | 938 |
| 939 #ifdef TT_CONFIG_OPTION_SUBPIXEL_HINTING |
| 939 #if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 1 | 940 #if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 1 |
| 940 #define TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY | 941 #define TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY |
| 941 #endif | 942 #endif |
| 942 | 943 |
| 943 #if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 2 | 944 #if TT_CONFIG_OPTION_SUBPIXEL_HINTING & 2 |
| 944 #define TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL | 945 #define TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL |
| 945 #endif | 946 #endif |
| 946 #endif | 947 #endif |
| 948 #endif |
| 947 | 949 |
| 948 | 950 |
| 949 /* | 951 /* |
| 950 * Check CFF darkening parameters. The checks are the same as in function | 952 * Check CFF darkening parameters. The checks are the same as in function |
| 951 * `cff_property_set' in file `cffdrivr.c'. | 953 * `cff_property_set' in file `cffdrivr.c'. |
| 952 */ | 954 */ |
| 953 #if CFF_CONFIG_OPTION_DARKENING_PARAMETER_X1 < 0 || \ | 955 #if CFF_CONFIG_OPTION_DARKENING_PARAMETER_X1 < 0 || \ |
| 954 CFF_CONFIG_OPTION_DARKENING_PARAMETER_X2 < 0 || \ | 956 CFF_CONFIG_OPTION_DARKENING_PARAMETER_X2 < 0 || \ |
| 955 CFF_CONFIG_OPTION_DARKENING_PARAMETER_X3 < 0 || \ | 957 CFF_CONFIG_OPTION_DARKENING_PARAMETER_X3 < 0 || \ |
| 956 CFF_CONFIG_OPTION_DARKENING_PARAMETER_X4 < 0 || \ | 958 CFF_CONFIG_OPTION_DARKENING_PARAMETER_X4 < 0 || \ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 974 #error "Invalid CFF darkening parameters!" | 976 #error "Invalid CFF darkening parameters!" |
| 975 #endif | 977 #endif |
| 976 | 978 |
| 977 FT_END_HEADER | 979 FT_END_HEADER |
| 978 | 980 |
| 979 | 981 |
| 980 #endif /* FTOPTION_H_ */ | 982 #endif /* FTOPTION_H_ */ |
| 981 | 983 |
| 982 | 984 |
| 983 /* END */ | 985 /* END */ |
| OLD | NEW |