Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: third_party/freetype/include/freetype-custom-config/ftoption.h

Issue 2786013002: Roll FreeType to 5a3490e054bda8a318ebde482c7fb30213cab3d9 (Closed)
Patch Set: Correct revision in README.Chromium Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/freetype/README.chromium ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 */
OLDNEW
« no previous file with comments | « third_party/freetype/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698