* src/pcf/pcfdriver.c (pcf_cmap_char_next): fixed a bug that caused
the function to return invalid values.
This commit is contained in:
parent
4d12d89dcd
commit
b1d8f73df6
|
@ -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
|
||||
|
||||
|
|
|
@ -48,11 +48,11 @@
|
|||
#ifdef FT_DEBUG_LEVEL_ERROR
|
||||
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
# include <stdarg.h>
|
||||
# include <stdlib.h>
|
||||
# include <string.h>
|
||||
|
||||
#include <windows.h>
|
||||
# include <windows.h>
|
||||
|
||||
|
||||
FT_EXPORT_DEF( void )
|
||||
|
@ -85,22 +85,22 @@
|
|||
}
|
||||
|
||||
|
||||
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||
# ifdef FT_DEBUG_LEVEL_TRACE
|
||||
|
||||
|
||||
/* array of trace levels, initialized to 0 */
|
||||
int ft_trace_levels[trace_count];
|
||||
|
||||
/* define array of trace toggle names */
|
||||
#define FT_TRACE_DEF( x ) #x ,
|
||||
# define FT_TRACE_DEF( x ) #x ,
|
||||
|
||||
static const char* ft_trace_toggles[trace_count + 1] =
|
||||
{
|
||||
#include FT_INTERNAL_TRACE_H
|
||||
# include FT_INTERNAL_TRACE_H
|
||||
NULL
|
||||
};
|
||||
|
||||
#undef FT_TRACE_DEF
|
||||
# undef FT_TRACE_DEF
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
@ -194,7 +194,7 @@
|
|||
}
|
||||
|
||||
|
||||
#else /* !FT_DEBUG_LEVEL_TRACE */
|
||||
# else /* !FT_DEBUG_LEVEL_TRACE */
|
||||
|
||||
|
||||
FT_BASE_DEF( void )
|
||||
|
@ -204,7 +204,8 @@
|
|||
}
|
||||
|
||||
|
||||
#endif /* !FT_DEBUG_LEVEL_TRACE */
|
||||
# endif /* !FT_DEBUG_LEVEL_TRACE */
|
||||
|
||||
#endif /* FT_DEBUG_LEVEL_ERROR */
|
||||
|
||||
/* END */
|
||||
|
|
17
docs/CHANGES
17
docs/CHANGES
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue