| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 /* <module-name2> ':' */ | 95 /* <module-name2> ':' */ |
| 96 /* <property-name2> '=' <property-value2> */ | 96 /* <property-name2> '=' <property-value2> */ |
| 97 /* ... */ | 97 /* ... */ |
| 98 /* */ | 98 /* */ |
| 99 /* Example: */ | 99 /* Example: */ |
| 100 /* */ | 100 /* */ |
| 101 /* FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ */ | 101 /* FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ */ |
| 102 /* cff:no-stem-darkening=1 \ */ | 102 /* cff:no-stem-darkening=1 \ */ |
| 103 /* autofitter:warping=1 */ | 103 /* autofitter:warping=1 */ |
| 104 /* */ | 104 /* */ |
| 105 /*#define FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES*/ | 105 #define FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES |
| 106 | 106 |
| 107 | 107 |
| 108 /*************************************************************************/ | 108 /*************************************************************************/ |
| 109 /* */ | 109 /* */ |
| 110 /* Uncomment the line below if you want to activate sub-pixel rendering */ | 110 /* Uncomment the line below if you want to activate sub-pixel rendering */ |
| 111 /* (a.k.a. LCD rendering, or ClearType) in this build of the library. */ | 111 /* (a.k.a. LCD rendering, or ClearType) in this build of the library. */ |
| 112 /* */ | 112 /* */ |
| 113 /* Note that this feature is covered by several Microsoft patents */ | 113 /* Note that this feature is covered by several Microsoft patents */ |
| 114 /* and should not be activated in any default build of the library. */ | 114 /* and should not be activated in any default build of the library. */ |
| 115 /* */ | 115 /* */ |
| 116 /* This macro has no impact on the FreeType API, only on its */ | 116 /* This macro has no impact on the FreeType API, only on its */ |
| 117 /* _implementation_. For example, using FT_RENDER_MODE_LCD when calling */ | 117 /* _implementation_. For example, using FT_RENDER_MODE_LCD when calling */ |
| 118 /* FT_Render_Glyph still generates a bitmap that is 3 times wider than */ | 118 /* FT_Render_Glyph still generates a bitmap that is 3 times wider than */ |
| 119 /* the original size in case this macro isn't defined; however, each */ | 119 /* the original size in case this macro isn't defined; however, each */ |
| 120 /* triplet of subpixels has R=G=B. */ | 120 /* triplet of subpixels has R=G=B. */ |
| 121 /* */ | 121 /* */ |
| 122 /* This is done to allow FreeType clients to run unmodified, forcing */ | 122 /* This is done to allow FreeType clients to run unmodified, forcing */ |
| 123 /* them to display normal gray-level anti-aliased glyphs. */ | 123 /* them to display normal gray-level anti-aliased glyphs. */ |
| 124 /* */ | 124 /* */ |
| 125 /* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ | 125 #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING |
| 126 | 126 |
| 127 | 127 |
| 128 /*************************************************************************/ | 128 /*************************************************************************/ |
| 129 /* */ | 129 /* */ |
| 130 /* Many compilers provide a non-ANSI 64-bit data type that can be used */ | 130 /* Many compilers provide a non-ANSI 64-bit data type that can be used */ |
| 131 /* by FreeType to speed up some computations. However, this will create */ | 131 /* by FreeType to speed up some computations. However, this will create */ |
| 132 /* some problems when compiling the library in strict ANSI mode. */ | 132 /* some problems when compiling the library in strict ANSI mode. */ |
| 133 /* */ | 133 /* */ |
| 134 /* For this reason, the use of 64-bit integers is normally disabled when */ | 134 /* For this reason, the use of 64-bit integers is normally disabled when */ |
| 135 /* the __STDC__ macro is defined. You can however disable this by */ | 135 /* the __STDC__ macro is defined. You can however disable this by */ |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 | 407 |
| 408 | 408 |
| 409 /*************************************************************************/ | 409 /*************************************************************************/ |
| 410 /* */ | 410 /* */ |
| 411 /* Allow the use of FT_Incremental_Interface to load typefaces that */ | 411 /* Allow the use of FT_Incremental_Interface to load typefaces that */ |
| 412 /* contain no glyph data, but supply it via a callback function. */ | 412 /* contain no glyph data, but supply it via a callback function. */ |
| 413 /* This is required by clients supporting document formats which */ | 413 /* This is required by clients supporting document formats which */ |
| 414 /* supply font data incrementally as the document is parsed, such */ | 414 /* supply font data incrementally as the document is parsed, such */ |
| 415 /* as the Ghostscript interpreter for the PostScript language. */ | 415 /* as the Ghostscript interpreter for the PostScript language. */ |
| 416 /* */ | 416 /* */ |
| 417 /* #define FT_CONFIG_OPTION_INCREMENTAL */ | 417 #define FT_CONFIG_OPTION_INCREMENTAL |
| 418 | 418 |
| 419 | 419 |
| 420 /*************************************************************************/ | 420 /*************************************************************************/ |
| 421 /* */ | 421 /* */ |
| 422 /* The size in bytes of the render pool used by the scan-line converter */ | 422 /* The size in bytes of the render pool used by the scan-line converter */ |
| 423 /* to do all of its work. */ | 423 /* to do all of its work. */ |
| 424 /* */ | 424 /* */ |
| 425 #define FT_RENDER_POOL_SIZE 16384L | 425 #define FT_RENDER_POOL_SIZE 16384L |
| 426 | 426 |
| 427 | 427 |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 #define T1_MAX_SUBRS_CALLS 16 | 783 #define T1_MAX_SUBRS_CALLS 16 |
| 784 | 784 |
| 785 | 785 |
| 786 /*************************************************************************/ | 786 /*************************************************************************/ |
| 787 /* */ | 787 /* */ |
| 788 /* T1_MAX_CHARSTRING_OPERANDS is the charstring stack's capacity. A */ | 788 /* T1_MAX_CHARSTRING_OPERANDS is the charstring stack's capacity. A */ |
| 789 /* minimum of 16 is required. */ | 789 /* minimum of 16 is required. */ |
| 790 /* */ | 790 /* */ |
| 791 /* The Chinese font MingTiEG-Medium (CNS 11643 character set) needs 256. */ | 791 /* The Chinese font MingTiEG-Medium (CNS 11643 character set) needs 256. */ |
| 792 /* */ | 792 /* */ |
| 793 #define T1_MAX_CHARSTRINGS_OPERANDS 256 | 793 #define T1_MAX_CHARSTRINGS_OPERANDS 512 |
| 794 | 794 |
| 795 | 795 |
| 796 /*************************************************************************/ | 796 /*************************************************************************/ |
| 797 /* */ | 797 /* */ |
| 798 /* Define this configuration macro if you want to prevent the */ | 798 /* Define this configuration macro if you want to prevent the */ |
| 799 /* compilation of `t1afm', which is in charge of reading Type 1 AFM */ | 799 /* compilation of `t1afm', which is in charge of reading Type 1 AFM */ |
| 800 /* files into an existing face. Note that if set, the T1 driver will be */ | 800 /* files into an existing face. Note that if set, the T1 driver will be */ |
| 801 /* unable to produce kerning distances. */ | 801 /* unable to produce kerning distances. */ |
| 802 /* */ | 802 /* */ |
| 803 #undef T1_CONFIG_OPTION_NO_AFM | 803 #undef T1_CONFIG_OPTION_NO_AFM |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 974 #error "Invalid CFF darkening parameters!" | 974 #error "Invalid CFF darkening parameters!" |
| 975 #endif | 975 #endif |
| 976 | 976 |
| 977 FT_END_HEADER | 977 FT_END_HEADER |
| 978 | 978 |
| 979 | 979 |
| 980 #endif /* FTOPTION_H_ */ | 980 #endif /* FTOPTION_H_ */ |
| 981 | 981 |
| 982 | 982 |
| 983 /* END */ | 983 /* END */ |
| OLD | NEW |