Minor fixes.

This commit is contained in:
Werner Lemberg 2002-06-11 06:53:15 +00:00
parent 25a6e3a167
commit 5f4e102a42
2 changed files with 25 additions and 22 deletions

View File

@ -1,24 +1,27 @@
2002-06-08 Juliusz Chroboczek <jch@pps.jussieu.fr>
2002-06-08 Juliusz Chroboczek <jch@pps.jussieu.fr>
* include/freetype/internal/ftobjs.h, src/autohint/ahglyph.c,
src/base/ftobjs.c, src/objs/fttype1.c, src/sfnt/ttcmap0.c,
src/smooth/ftgrays.c: changed uses of "setjmp" and "longjmp"
to "ft_setjmp" and "ft_lonjmp". Removed direct references to
<stdio.h> and <setjmp.h> when appropriate, to eventually replace
them with a FT_CONFIG_STANDARD_LIBRARY_H. Useful for the XFree86
Font Server backend based on FT2.
* include/freetype/internal/ftobjs.h, src/autohint/ahglyph.c,
src/base/ftobjs.c, src/sfnt/ttcmap0.c, src/smooth/ftgrays.c: Don't
use `setjmp', `longjmp', and `jmp_buf' but `ft_setjmp', `ft_longjmp',
and `ft_jmp_buf'.
Removed direct references to <stdio.h> and <setjmp.h> when
appropriate, to eventually replace them with a
FT_CONFIG_STANDARD_LIBRARY_H. Useful for the XFree86 Font Server
backend based on FT2.
* src/base/fttype1.c (FT_Has_PS_Glyph_Names): Fix return value.
2002-06-08 David Turner <david@freetype.org>
* src/pcf/pcfdriver.c (pcf_cmap_char_next): fixed a bug that caused
the function to return invalid values.
* src/pcf/pcfdriver.c (pcf_cmap_char_next): Fixed a bug that caused
the function to return invalid values.
* src/cache/ftccache.i: removing a typo that prevented
the source's compilation
* src/cache/ftccache.i: Removing a typo that prevented
the source's compilation.
* src/cache/ftccache.c (ftc_node_hash_unlink): fixed a
bug that caused nasty memory overwrites. the hash table's
buckets array wasn't correctly resized when shrinked.
* src/cache/ftccache.c (ftc_node_hash_unlink): Fixed a
bug that caused nasty memory overwrites. The hash table's
buckets array wasn't correctly resized when shrinked.
2002-06-08 Detlef Würkner <TetiSoft@apg.lahn.de>

View File

@ -50,16 +50,16 @@ LATEST CHANGES BETWEEN 2.1.1 and 2.1.0
III. MISCELLANEOUS
- The cache sub-system has been optimized in important ways. Cache hits are
now significantly faster. For example, using the CMap cache is about
twice faster than calling FT_Get_Char_Index on most platforms. Similarly,
using a SBit cache is about 5x faster than loading the bitmaps from a
bitmap file, and 300x to 500x than generating them from a scalable
format :-)
- The cache sub-system has been optimized in important ways. Cache hits
are now significantly faster. For example, using the CMap cache is
about twice faster than calling FT_Get_Char_Index on most platforms.
Similarly, using an SBit cache is about five times faster than loading
the bitmaps from a bitmap file, and 300 to 500 times faster than
generating them from a scalable format.
Note that you should recompile your sources if you designed a custom
cache class for the FT2 Cache subsystem, since the changes performed
are source, but not binary, compatible...
are source, but not binary, compatible.
========================================================================