- fixed the incorrect SO extension for Visual C++
- disabled the TrueType interpreter by default - disabled the "type1" driver, "type1z" is now used by default (the internal driver name is "type1" now !!)
This commit is contained in:
parent
c3dd151b0f
commit
5fe4c00ed2
6
CHANGES
6
CHANGES
|
@ -1,5 +1,11 @@
|
||||||
LATEST CHANGES
|
LATEST CHANGES
|
||||||
|
|
||||||
|
- updates to the build system. We now compile the library correctly
|
||||||
|
under Unix system through "configure" which is automatically called
|
||||||
|
on the first "make" invocation.
|
||||||
|
|
||||||
|
- added the auto-hinting module !!. Fixing some bugs here and there..
|
||||||
|
|
||||||
- found some bugs in the composite loader (seac) of the Type1-based
|
- found some bugs in the composite loader (seac) of the Type1-based
|
||||||
font drivers..
|
font drivers..
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ LIB_DIR := $(OBJ_DIR)
|
||||||
# .o, .tco, .obj, etc., depending on the platform.
|
# .o, .tco, .obj, etc., depending on the platform.
|
||||||
#
|
#
|
||||||
O := obj
|
O := obj
|
||||||
SO := ojc
|
SO := obj
|
||||||
|
|
||||||
# The library file extension (for standard and static libraries). This can
|
# The library file extension (for standard and static libraries). This can
|
||||||
# be .a, .lib, etc., depending on the platform.
|
# be .a, .lib, etc., depending on the platform.
|
||||||
|
|
|
@ -7,5 +7,4 @@ FT_USE_MODULE(sfnt_module_class)
|
||||||
FT_USE_MODULE(ft_smooth_renderer_class)
|
FT_USE_MODULE(ft_smooth_renderer_class)
|
||||||
FT_USE_MODULE(tt_driver_class)
|
FT_USE_MODULE(tt_driver_class)
|
||||||
FT_USE_MODULE(t1_driver_class)
|
FT_USE_MODULE(t1_driver_class)
|
||||||
FT_USE_MODULE(t1z_driver_class)
|
|
||||||
FT_USE_MODULE(winfnt_driver_class)
|
FT_USE_MODULE(winfnt_driver_class)
|
||||||
|
|
|
@ -305,7 +305,7 @@
|
||||||
/* By undefining this, you will only compile the code necessary to load */
|
/* By undefining this, you will only compile the code necessary to load */
|
||||||
/* TrueType glyphs without hinting. */
|
/* TrueType glyphs without hinting. */
|
||||||
/* */
|
/* */
|
||||||
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
|
@ -435,7 +435,11 @@
|
||||||
{
|
{
|
||||||
ft_module_font_driver |
|
ft_module_font_driver |
|
||||||
ft_module_driver_scalable |
|
ft_module_driver_scalable |
|
||||||
|
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
||||||
ft_module_driver_has_hinter,
|
ft_module_driver_has_hinter,
|
||||||
|
#else
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
|
|
||||||
sizeof ( TT_DriverRec ),
|
sizeof ( TT_DriverRec ),
|
||||||
|
|
||||||
|
|
|
@ -639,7 +639,9 @@
|
||||||
load->pp2 = zone->cur[n_points - 1];
|
load->pp2 = zone->cur[n_points - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
||||||
Exit:
|
Exit:
|
||||||
|
#endif
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -796,7 +798,7 @@
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
error = Process_Simple_Glyph( loader, 0 );
|
error = TT_Process_Simple_Glyph( loader, 0 );
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
make_module_list: add_type1z_driver
|
make_module_list: add_type1_driver
|
||||||
|
|
||||||
add_type1z_driver:
|
add_type1_driver:
|
||||||
$(OPEN_DRIVER)t1z_driver_class$(CLOSE_DRIVER)
|
$(OPEN_DRIVER)t1_driver_class$(CLOSE_DRIVER)
|
||||||
$(ECHO_DRIVER)type1z $(ECHO_DRIVER_DESC)Postscript font files with extension *.pfa or *.pfb$(ECHO_DRIVER_DONE)
|
$(ECHO_DRIVER)type1 $(ECHO_DRIVER_DESC)Postscript font files with extension *.pfa or *.pfb$(ECHO_DRIVER_DONE)
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
|
@ -283,13 +283,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const FT_Driver_Class t1z_driver_class =
|
const FT_Driver_Class t1_driver_class =
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
ft_module_font_driver | ft_module_driver_scalable,
|
ft_module_font_driver | ft_module_driver_scalable,
|
||||||
sizeof( FT_DriverRec ),
|
sizeof( FT_DriverRec ),
|
||||||
|
|
||||||
"type1z",
|
"type1",
|
||||||
0x10000L,
|
0x10000L,
|
||||||
0x20000L,
|
0x20000L,
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include <freetype/internal/ftdriver.h>
|
#include <freetype/internal/ftdriver.h>
|
||||||
|
|
||||||
FT_EXPORT_VAR( const FT_Driver_Class ) t1z_driver_class;
|
FT_EXPORT_VAR( const FT_Driver_Class ) t1_driver_class;
|
||||||
|
|
||||||
#endif /* Z1DRIVER_H */
|
#endif /* Z1DRIVER_H */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue