shithub: freetype+ttf2subf

Download patch

ref: 4e56c0d8e3c27b64d8d1b60714691a0199d37696
parent: 5290d2fb46f33d7cd7e4036216196a7f92b7daa1
author: David Turner <[email protected]>
date: Wed Jun 23 15:29:58 EDT 2004

Simple ChangeLog update:

2004-06-23  David Turner   <[email protected]>

        * include/freetype/internal/ftmemory.h, src/base/ftutil.c,
        src/base/ftmemdbg.c: introducing the new FT_QAlloc and FT_QRealloc
        functions that do perform allocation without zero-ing out the
        corresponding blocks. Corresponding macros like FT_QALLOC, FT_QNEW,
        etc.. have been defined too

        * include/freetype/config/ftmodule.h: changed the order of modules
        in order to _dramatically_ improve the performance of face open/close
        operations. For example, putting the TrueType driver first in the
        list results in a 5X speedup when opening Vera.ttf !!

        The problem is really that the PCF and/or BDF drivers are broken
        and do a lot more than necessary simply to detect that they
        cannot handle the font file.

        * src/sfnt/ttload.c: small optimization in the kerning table
        verifier, speeds up TrueType face opening by about 7%.

        Also changed code to use the new FT_QNEW_ARRAY call when
        appropriate to slightly improve performance.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+2004-06-23  David Turner   <[email protected]>
+
+        * include/freetype/internal/ftmemory.h, src/base/ftutil.c,
+        src/base/ftmemdbg.c: introducing the new FT_QAlloc and FT_QRealloc
+        functions that do perform allocation without zero-ing out the
+        corresponding blocks. Corresponding macros like FT_QALLOC, FT_QNEW,
+        etc.. have been defined too
+
+        * include/freetype/config/ftmodule.h: changed the order of modules
+        in order to _dramatically_ improve the performance of face open/close
+        operations. For example, putting the TrueType driver first in the
+        list results in a 5X speedup when opening Vera.ttf !!
+
+        The problem is really that the PCF and/or BDF drivers are broken
+        and do a lot more than necessary simply to detect that they
+        cannot handle the font file.
+
+        * src/sfnt/ttload.c: small optimization in the kerning table
+        verifier, speeds up TrueType face opening by about 7%.
+
+        Also changed code to use the new FT_QNEW_ARRAY call when
+        appropriate to slightly improve performance.
+
 2004-06-22  Werner Lemberg  <[email protected]>
 
 	* src/pcf/pcfread.c (pcf_read_TOC, pcf_get_properties,