⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ftoption.h

📁 附上freetype2.1.10的源代码,这个和上面传的是一起的
💻 H
📖 第 1 页 / 共 3 页
字号:
  /* OpenType file.                                                        */  /*                                                                       */  /* Note that when you do not compile the `PSNames' module by undefining  */  /* the above FT_CONFIG_OPTION_POSTSCRIPT_NAMES, the `sfnt' module will   */  /* contain additional code used to read the PS Names table from a font.  */  /*                                                                       */  /* (By default, the module uses `PSNames' to extract glyph names.)       */  /*                                                                       */#define TT_CONFIG_OPTION_POSTSCRIPT_NAMES  /*************************************************************************/  /*                                                                       */  /* Define TT_CONFIG_OPTION_SFNT_NAMES if your applications need to       */  /* access the internal name table in a SFNT-based format like TrueType   */  /* or OpenType.  The name table contains various strings used to         */  /* describe the font, like family name, copyright, version, etc.  It     */  /* does not contain any glyph name though.                               */  /*                                                                       */  /* Accessing SFNT names is done through the functions declared in        */  /* `freetype/ftnames.h'.                                                 */  /*                                                                       */#define TT_CONFIG_OPTION_SFNT_NAMES  /*************************************************************************/  /*                                                                       */  /* TrueType CMap support                                                 */  /*                                                                       */  /*   Here you can fine-tune which TrueType CMap table format shall be    */  /*   supported.                                                          */#define TT_CONFIG_CMAP_FORMAT_0#define TT_CONFIG_CMAP_FORMAT_2#define TT_CONFIG_CMAP_FORMAT_4#define TT_CONFIG_CMAP_FORMAT_6#define TT_CONFIG_CMAP_FORMAT_8#define TT_CONFIG_CMAP_FORMAT_10#define TT_CONFIG_CMAP_FORMAT_12  /*************************************************************************/  /*************************************************************************/  /****                                                                 ****/  /****    T R U E T Y P E   D R I V E R    C O N F I G U R A T I O N   ****/  /****                                                                 ****/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* Define TT_CONFIG_OPTION_BYTECODE_INTERPRETER if you want to compile   */  /* a bytecode interpreter in the TrueType driver.  Note that there are   */  /* important patent issues related to the use of the interpreter.        */  /*                                                                       */  /* By undefining this, you will only compile the code necessary to load  */  /* TrueType glyphs without hinting.                                      */  /*                                                                       */  /*   Do not #undef this macro here, since the build system might         */  /*   define it for certain configurations only.                          */  /*                                                                       *//* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */  /*************************************************************************/  /*                                                                       */  /* Define TT_CONFIG_OPTION_UNPATENTED_HINTING (in addition to            */  /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER) to compile the unpatented      */  /* work-around hinting system.  Note that for the moment, the algorithm  */  /* is only used when selected at runtime through the parameter tag       */  /* FT_PARAM_TAG_UNPATENTED_HINTING; or when the debug hook               */  /* FT_DEBUG_HOOK_UNPATENTED_HINTING is globally activated.               */  /*                                                                       */#define TT_CONFIG_OPTION_UNPATENTED_HINTING  /*************************************************************************/  /*                                                                       */  /* Define TT_CONFIG_OPTION_INTERPRETER_SWITCH to compile the TrueType    */  /* bytecode interpreter with a huge switch statement, rather than a call */  /* table.  This results in smaller and faster code for a number of       */  /* architectures.                                                        */  /*                                                                       */  /* Note however that on some compiler/processor combinations, undefining */  /* this macro will generate faster, though larger, code.                 */  /*                                                                       */#define TT_CONFIG_OPTION_INTERPRETER_SWITCH  /*************************************************************************/  /*                                                                       */  /* Define TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED to compile the        */  /* TrueType glyph loader to use Apple's definition of how to handle      */  /* component offsets in composite glyphs.                                */  /*                                                                       */  /* Apple and MS disagree on the default behavior of component offsets    */  /* in composites.  Apple says that they should be scaled by the scale    */  /* factors in the transformation matrix (roughly, it's more complex)     */  /* while MS says they should not.  OpenType defines two bits in the      */  /* composite flags array which can be used to disambiguate, but old      */  /* fonts will not have them.                                             */  /*                                                                       */  /*   http://partners.adobe.com/asn/developer/opentype/glyf.html          */  /*   http://fonts.apple.com/TTRefMan/RM06/Chap6glyf.html                 */  /*                                                                       */#undef TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED  /*************************************************************************/  /*                                                                       */  /* Define TT_CONFIG_OPTION_GX_VAR_SUPPORT if you want to include         */  /* support for Apple's distortable font technology (fvar, gvar, cvar,    */  /* and avar tables).  This has many similarities to Type 1 Multiple      */  /* Masters support.                                                      */  /*                                                                       */#define TT_CONFIG_OPTION_GX_VAR_SUPPORT  /*************************************************************************/  /*************************************************************************/  /****                                                                 ****/  /****      T Y P E 1   D R I V E R    C O N F I G U R A T I O N       ****/  /****                                                                 ****/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* T1_MAX_DICT_DEPTH is the maximal depth of nest dictionaries and       */  /* arrays in the Type 1 stream (see t1load.c).  A minimum of 4 is        */  /* required.                                                             */  /*                                                                       */#define T1_MAX_DICT_DEPTH  5  /*************************************************************************/  /*                                                                       */  /* T1_MAX_SUBRS_CALLS details the maximum number of nested sub-routine   */  /* calls during glyph loading.                                           */  /*                                                                       */#define T1_MAX_SUBRS_CALLS  16  /*************************************************************************/  /*                                                                       */  /* T1_MAX_CHARSTRING_OPERANDS is the charstring stack's capacity.  A     */  /* minimum of 16 is required.                                            */  /*                                                                       */  /* The Chinese font MingTiEG-Medium (CNS 11643 character set) needs 256. */  /*                                                                       */#define T1_MAX_CHARSTRINGS_OPERANDS  256  /*************************************************************************/  /*                                                                       */  /* Define this configuration macro if you want to prevent the            */  /* compilation of `t1afm', which is in charge of reading Type 1 AFM      */  /* files into an existing face.  Note that if set, the T1 driver will be */  /* unable to produce kerning distances.                                  */  /*                                                                       */#undef T1_CONFIG_OPTION_NO_AFM  /*************************************************************************/  /*                                                                       */  /* Define this configuration macro if you want to prevent the            */  /* compilation of the Multiple Masters font support in the Type 1        */  /* driver.                                                               */  /*                                                                       */#undef T1_CONFIG_OPTION_NO_MM_SUPPORT /* *//* * This temporary macro is used to control various optimizations for * reducing the heap footprint of memory-mapped TrueType files. * *//* #define  FT_OPTIMIZE_MEMORY */FT_END_HEADER#endif /* __FTOPTION_H__ *//* END */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -