* src/pcf/pcfdriver.c (pcf_cmap_char_next): fixed a bug that caused

the function to return invalid values.
This commit is contained in:
David Turner 2002-06-10 22:41:57 +00:00
parent 4d12d89dcd
commit b1d8f73df6
4 changed files with 82 additions and 65 deletions

View File

@ -1,5 +1,8 @@
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/cache/ftccache.i: removing a typo that prevented
the source's compilation

View File

@ -206,5 +206,6 @@
# endif /* !FT_DEBUG_LEVEL_TRACE */
#endif /* FT_DEBUG_LEVEL_ERROR */
/* END */

View File

@ -41,14 +41,27 @@ LATEST CHANGES BETWEEN 2.1.1 and 2.1.0
(using a slightly extended BDF format).
* A Type42 font driver, contributed by Roberto Alameda. It is
still experimental but seems to work relatively well. Currently,
charmap support is not fully implemented.
still experimental but seems to work relatively well.
* A PFR font driver, contributed by David Turner himself. It doesn't
support PFR hinting -- note that BitStream has at least two patents
on this format!
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 :-)
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...
========================================================================
LATEST CHANGES BETWEEN 2.1.0 and 2.0.9

View File

@ -143,7 +143,7 @@ THE SOFTWARE.
}
charcode = 0;
if ( ++min < cmap->num_encodings )
if ( min < cmap->num_encodings )
{
charcode = encodings[min].enc;
result = encodings[min].glyph;