diff options
Diffstat (limited to 'devel/ftoption.h')
-rw-r--r-- | devel/ftoption.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/ftoption.h b/devel/ftoption.h index b3bace106..c5d001b47 100644 --- a/devel/ftoption.h +++ b/devel/ftoption.h @@ -117,6 +117,27 @@ FT_BEGIN_HEADER /*************************************************************************/ /* */ + /* If this macro is defined, do not try to use an assembler version of */ + /* performance-critical functions (e.g. FT_MulFix). You should only do */ + /* that to verify that the assembler function works properly, or to */ + /* execute benchmark tests of the various implementations. */ +/* #define FT_CONFIG_OPTION_NO_ASSEMBLER */ + + + /*************************************************************************/ + /* */ + /* If this macro is defined, try to use an inlined assembler version of */ + /* the `FT_MulFix' function, which is a `hotspot' when loading and */ + /* hinting glyphs, and which should be executed as fast as possible. */ + /* */ + /* Note that if your compiler or CPU is not supported, this will default */ + /* to the standard and portable implementation found in `ftcalc.c'. */ + /* */ +#define FT_CONFIG_OPTION_INLINE_MULFIX + + + /*************************************************************************/ + /* */ /* LZW-compressed file support. */ /* */ /* FreeType now handles font files that have been compressed with the */ |