shithub: freetype+ttf2subf

Download patch

ref: 4a89bb9a13e4dee2e48ff5d3c7d026b0578e8529
parent: 91a3402d786c35b100a1122cc43ff50dbf383960
author: David Turner <[email protected]>
date: Fri Jan 5 09:48:27 EST 2007

- reset FT_CONFIG_OPTION_OLD_INTERNALS which *disables* the previous optimization
  (duhhh)

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,10 @@
 2007-01-04  David Turner  <[email protected]>
 
-	* src/sfnt/ttmtx.c: don't extract the metrics table from the
-	SFNT font file. Instead, reparse it on each glyph load,
-	since the runtime difference will not be noticeable, and
-	it can save a lot of heap memory when memory-mapped files
-	are not used.
+	* src/sfnt/ttmtx.c, include/freetype/internal/tttypes.h:
+	don't extract the metrics table from the SFNT font file.
+	Instead, reparse it on each glyph load, since the runtime
+	difference will not be noticeable, and it can save a lot
+	of heap memory when memory-mapped files are not used.
 
 	* src/sfnt/ttcmap.c: slight optimization in the CMAP 4 validator
 
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -605,7 +605,7 @@
    * is recommended to disable the macro since it reduces the library's code
    * size and activates a few memory-saving optimizations as well.
    */
-/* #define FT_CONFIG_OPTION_OLD_INTERNALS */
+#define FT_CONFIG_OPTION_OLD_INTERNALS
 
 
   /*