From 3a0b9a3449d37114f38200852e05e1e15bb85936 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 23 Jun 2004 19:29:58 +0000 Subject: [PATCH] Simple ChangeLog update: 2004-06-23 David Turner * 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. --- ChangeLog | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/ChangeLog b/ChangeLog index 65891bdf9..6a7f3bb73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +2004-06-23 David Turner + + * 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 * src/pcf/pcfread.c (pcf_read_TOC, pcf_get_properties,