From 1b547d80d60ae68b58343ae59f482b8424d88156 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 21 May 2002 20:22:59 +0000 Subject: [PATCH] * src/bdf/README: Mention Microsoft's SBIT tool. * src/cff/cffdrivr.c, src/cid/cidriver.c, src/pcf/pcfdriver.c, src/truetype/ttdriver.c, src/type1/t1driver.c, src/winfonts/winfnt.c, src/type42/t42drivr.c, src/bdf/bdfdrivr.c [FT_CONFIG_OPTION_DYNAMIC_DRIVERS]: Completely removed. It has been never used. --- ChangeLog | 10 ++++++++++ src/bdf/README | 12 +++++++----- src/bdf/bdfdrivr.c | 32 -------------------------------- src/cff/cffdrivr.c | 32 -------------------------------- src/cid/cidriver.c | 32 -------------------------------- src/pcf/pcfdriver.c | 31 ------------------------------- src/truetype/ttdriver.c | 32 -------------------------------- src/type1/t1driver.c | 32 -------------------------------- src/type42/t42drivr.c | 32 -------------------------------- src/winfonts/winfnt.c | 32 -------------------------------- 10 files changed, 17 insertions(+), 260 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1a3e29bdf..ef9a34671 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2002-05-21 Werner Lemberg + + * src/bdf/README: Mention Microsoft's SBIT tool. + + * src/cff/cffdrivr.c, src/cid/cidriver.c, src/pcf/pcfdriver.c, + src/truetype/ttdriver.c, src/type1/t1driver.c, + src/winfonts/winfnt.c, src/type42/t42drivr.c, src/bdf/bdfdrivr.c + [FT_CONFIG_OPTION_DYNAMIC_DRIVERS]: Completely removed. It has + been never used. + 2002-05-21 Roberto Alameda . * src/type42/t42drivr.c: s/T42_ENCODING_TYPE_/T1_ENCODING_TYPE_/. diff --git a/src/bdf/README b/src/bdf/README index 7f7c514dc..bb1a5c0c6 100644 --- a/src/bdf/README +++ b/src/bdf/README @@ -58,11 +58,13 @@ Anti-Aliased Bitmaps ******************** The driver supports an extension to the BDF format as used in Mark Leisher's -xmbdfed bitmap font editor. It introduces a fourth field to the `SIZE' -keyword which gives the bpp value (bits per pixel) of the glyph data in the -font. Possible values are 1 (the default), 2 (four gray levels), and 4 (16 -gray levels). The driver returns either a bitmap with 1 bit per pixel or a -pixmap with 8bits per pixel (using 4 and 16 gray levels, respectively). +xmbdfed bitmap font editor. Microsoft's SBIT tool expects bitmap fonts in +that format for adding anti-aliased them to TrueType fonts. It introduces a +fourth field to the `SIZE' keyword which gives the bpp value (bits per +pixel) of the glyph data in the font. Possible values are 1 (the default), +2 (four gray levels), and 4 (16 gray levels). The driver returns either a +bitmap with 1 bit per pixel or a pixmap with 8bits per pixel (using 4 and 16 +gray levels, respectively). Known problems diff --git a/src/bdf/bdfdrivr.c b/src/bdf/bdfdrivr.c index 7c577f5e1..9f508a4f0 100644 --- a/src/bdf/bdfdrivr.c +++ b/src/bdf/bdfdrivr.c @@ -529,36 +529,4 @@ THE SOFTWARE. }; -#ifdef FT_CONFIG_OPTION_DYNAMIC_DRIVERS - - - /*************************************************************************/ - /* */ - /* */ - /* getDriverClass */ - /* */ - /* */ - /* This function is used when compiling the TrueType driver as a */ - /* shared library (`.DLL' or `.so'). It will be used by the */ - /* high-level library of FreeType to retrieve the address of the */ - /* driver's generic interface. */ - /* */ - /* It shouldn't be implemented in a static build, as each driver must */ - /* have the same function as an exported entry point. */ - /* */ - /* */ - /* The address of the TrueType's driver generic interface. The */ - /* format-specific interface can then be retrieved through the method */ - /* interface->get_format_interface. */ - /* */ - FT_EXPORT_DEF( const FT_Driver_Class* ) - getDriverClass( void ) - { - return &bdf_driver_class; - } - - -#endif /* FT_CONFIG_OPTION_DYNAMIC_DRIVERS */ - - /* END */ diff --git a/src/cff/cffdrivr.c b/src/cff/cffdrivr.c index a910ce5c0..7a0c0df20 100644 --- a/src/cff/cffdrivr.c +++ b/src/cff/cffdrivr.c @@ -508,36 +508,4 @@ }; -#ifdef FT_CONFIG_OPTION_DYNAMIC_DRIVERS - - - /*************************************************************************/ - /* */ - /* */ - /* getDriverClass */ - /* */ - /* */ - /* This function is used when compiling the TrueType driver as a */ - /* shared library (`.DLL' or `.so'). It will be used by the */ - /* high-level library of FreeType to retrieve the address of the */ - /* driver's generic interface. */ - /* */ - /* It shouldn't be implemented in a static build, as each driver must */ - /* have the same function as an exported entry point. */ - /* */ - /* */ - /* The address of the TrueType's driver generic interface. The */ - /* format-specific interface can then be retrieved through the method */ - /* interface->get_format_interface. */ - /* */ - FT_EXPORT_DEF( const FT_Driver_Class ) - getDriverClass( void ) - { - return &cff_driver_class; - } - - -#endif /* CONFIG_OPTION_DYNAMIC_DRIVERS */ - - /* END */ diff --git a/src/cid/cidriver.c b/src/cid/cidriver.c index cd226e6db..0d0a5fbfa 100644 --- a/src/cid/cidriver.c +++ b/src/cid/cidriver.c @@ -334,36 +334,4 @@ }; -#ifdef FT_CONFIG_OPTION_DYNAMIC_DRIVERS - - - /*************************************************************************/ - /* */ - /* */ - /* getDriverClass */ - /* */ - /* */ - /* This function is used when compiling the TrueType driver as a */ - /* shared library (`.DLL' or `.so'). It will be used by the */ - /* high-level library of FreeType to retrieve the address of the */ - /* driver's generic interface. */ - /* */ - /* It shouldn't be implemented in a static build, as each driver must */ - /* have the same function as an exported entry point. */ - /* */ - /* */ - /* The address of the TrueType's driver generic interface. The */ - /* format-specific interface can then be retrieved through the method */ - /* interface->get_format_interface. */ - /* */ - FT_EXPORT_DEF( const FT_Driver_Class ) - getDriverClass( void ) - { - return &t1cid_driver_class; - } - - -#endif /* CONFIG_OPTION_DYNAMIC_DRIVERS */ - - /* END */ diff --git a/src/pcf/pcfdriver.c b/src/pcf/pcfdriver.c index 839b07b23..9fb14b561 100644 --- a/src/pcf/pcfdriver.c +++ b/src/pcf/pcfdriver.c @@ -570,35 +570,4 @@ THE SOFTWARE. }; -#ifdef FT_CONFIG_OPTION_DYNAMIC_DRIVERS - - /*************************************************************************/ - /* */ - /* */ - /* getDriverClass */ - /* */ - /* */ - /* This function is used when compiling the TrueType driver as a */ - /* shared library (`.DLL' or `.so'). It will be used by the */ - /* high-level library of FreeType to retrieve the address of the */ - /* driver's generic interface. */ - /* */ - /* It shouldn't be implemented in a static build, as each driver must */ - /* have the same function as an exported entry point. */ - /* */ - /* */ - /* The address of the TrueType's driver generic interface. The */ - /* format-specific interface can then be retrieved through the method */ - /* interface->get_format_interface. */ - /* */ - FT_EXPORT_DEF( const FT_Driver_Class ) - getDriverClass( void ) - { - return &pcf_driver_class; - } - - -#endif /* FT_CONFIG_OPTION_DYNAMIC_DRIVERS */ - - /* END */ diff --git a/src/truetype/ttdriver.c b/src/truetype/ttdriver.c index 27cbd3595..d0678a3c8 100644 --- a/src/truetype/ttdriver.c +++ b/src/truetype/ttdriver.c @@ -526,36 +526,4 @@ }; -#ifdef FT_CONFIG_OPTION_DYNAMIC_DRIVERS - - - /*************************************************************************/ - /* */ - /* */ - /* getDriverClass */ - /* */ - /* */ - /* This function is used when compiling the TrueType driver as a */ - /* shared library (`.DLL' or `.so'). It will be used by the */ - /* high-level library of FreeType to retrieve the address of the */ - /* driver's generic interface. */ - /* */ - /* It shouldn't be implemented in a static build, as each driver must */ - /* have the same function as an exported entry point. */ - /* */ - /* */ - /* The address of the TrueType's driver generic interface. The */ - /* format-specific interface can then be retrieved through the method */ - /* interface->get_format_interface. */ - /* */ - FT_EXPORT_DEF( const FT_Driver_Class ) - getDriverClass( void ) - { - return &tt_driver_class; - } - - -#endif /* CONFIG_OPTION_DYNAMIC_DRIVERS */ - - /* END */ diff --git a/src/type1/t1driver.c b/src/type1/t1driver.c index e7b1e6e8c..968f767df 100644 --- a/src/type1/t1driver.c +++ b/src/type1/t1driver.c @@ -506,36 +506,4 @@ }; -#ifdef FT_CONFIG_OPTION_DYNAMIC_DRIVERS - - - /*************************************************************************/ - /* */ - /* */ - /* getDriverClass */ - /* */ - /* */ - /* This function is used when compiling the TrueType driver as a */ - /* shared library (`.DLL' or `.so'). It will be used by the */ - /* high-level library of FreeType to retrieve the address of the */ - /* driver's generic interface. */ - /* */ - /* It shouldn't be implemented in a static build, as each driver must */ - /* have the same function as an exported entry point. */ - /* */ - /* */ - /* The address of the TrueType's driver generic interface. The */ - /* format-specific interface can then be retrieved through the method */ - /* interface->get_format_interface. */ - /* */ - FT_EXPORT_DEF( const FT_Driver_Class ) - getDriverClass( void ) - { - return &t1_driver_class; - } - - -#endif /* FT_CONFIG_OPTION_DYNAMIC_DRIVERS */ - - /* END */ diff --git a/src/type42/t42drivr.c b/src/type42/t42drivr.c index f713f8f5b..c4d4315b6 100644 --- a/src/type42/t42drivr.c +++ b/src/type42/t42drivr.c @@ -2049,36 +2049,4 @@ }; -#ifdef FT_CONFIG_OPTION_DYNAMIC_DRIVERS - - - /*************************************************************************/ - /* */ - /* */ - /* getDriverClass */ - /* */ - /* */ - /* This function is used when compiling the TrueType driver as a */ - /* shared library (`.DLL' or `.so'). It will be used by the */ - /* high-level library of FreeType to retrieve the address of the */ - /* driver's generic interface. */ - /* */ - /* It shouldn't be implemented in a static build, as each driver must */ - /* have the same function as an exported entry point. */ - /* */ - /* */ - /* The address of the T42's driver generic interface. The */ - /* format-specific interface can then be retrieved through the method */ - /* interface->get_format_interface. */ - /* */ - FT_EXPORT_DEF( const FT_Driver_Class ) - getDriverClass( void ) - { - return &t42_driver_class; - } - - -#endif /* FT_CONFIG_OPTION_DYNAMIC_DRIVERS */ - - /* END */ diff --git a/src/winfonts/winfnt.c b/src/winfonts/winfnt.c index 26d1e0b59..b2b44a65f 100644 --- a/src/winfonts/winfnt.c +++ b/src/winfonts/winfnt.c @@ -768,36 +768,4 @@ }; -#ifdef FT_CONFIG_OPTION_DYNAMIC_DRIVERS - - - /*************************************************************************/ - /* */ - /* */ - /* getDriverClass */ - /* */ - /* */ - /* This function is used when compiling the TrueType driver as a */ - /* shared library (`.DLL' or `.so'). It will be used by the */ - /* high-level library of FreeType to retrieve the address of the */ - /* driver's generic interface. */ - /* */ - /* It shouldn't be implemented in a static build, as each driver must */ - /* have the same function as an exported entry point. */ - /* */ - /* */ - /* The address of the TrueType's driver generic interface. The */ - /* format-specific interface can then be retrieved through the method */ - /* interface->get_format_interface. */ - /* */ - FT_EXPORT_DEF( const FT_Driver_Class ) - getDriverClass( void ) - { - return &winfnt_driver_class; - } - - -#endif /* FT_CONFIG_OPTION_DYNAMIC_DRIVERS */ - - /* END */