summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2008-09-12 16:27:48 +0000
committerWerner Lemberg <wl@gnu.org>2008-09-12 16:27:48 +0000
commitb211651ac9a40f3ed2d25474dcf9a9e09c8a81dd (patch)
tree77d2f5a3c8bd1bab3ace3b402ede56bd945c9c9f /devel
parent8d3e6ecc3cf9af0d7c484960ca1dbe649245c08a (diff)
downloadfreetype2-b211651ac9a40f3ed2d25474dcf9a9e09c8a81dd.tar.gz
* autogen.sh, builds/unix/configure.raw,
include/freetype/config/ftconfig.h, builds/unix/ftconfig.in: Minor beautifying. * include/freetype/ftadvanc.h, include/freetype/ftgasp.h, include/freetype/ftlcdfil.h: Protect against FreeType 1. Some other minor fixes. * devel/ftoption.h: Synchronize with include/freetype/config/ftoption.h. Formatting, documentation improvements.
Diffstat (limited to 'devel')
-rw-r--r--devel/ftoption.h21
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 */