Adding a driver for Type42 fonts written by Roberto Alameda <ojancano@geekmail.de>. * src/type42/*: New driver. * include/freetype/config/ftmodule.h, src/Jamfile: Updated. * include/freetype/config/ftstdlib.h (ft_xdigit, ft_memcmp, ft_atoi): New aliases for xdigit, memcmp, and atoi, respectively.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
diff --git a/ChangeLog b/ChangeLog
index 0537d5b..3e668bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2002-05-14 Werner Lemberg <wl@gnu.org>
+
+ Adding a driver for Type42 fonts written by Roberto Alameda
+ <ojancano@geekmail.de>.
+
+ * src/type42/*: New driver.
+ * include/freetype/config/ftmodule.h, src/Jamfile: Updated.
+ * include/freetype/config/ftstdlib.h (ft_xdigit, ft_memcmp,
+ ft_atoi): New aliases for xdigit, memcmp, and atoi, respectively.
+
2002-05-12 Owen Taylor <otaylor@redhat.com>
* src/sfnt/ttload.c (TT_LookUp_Table): Protect against tables
diff --git a/include/freetype/config/ftmodule.h b/include/freetype/config/ftmodule.h
index 2ca7fa7..d4b3b71 100644
--- a/include/freetype/config/ftmodule.h
+++ b/include/freetype/config/ftmodule.h
@@ -10,6 +10,7 @@ FT_USE_MODULE(sfnt_module_class)
FT_USE_MODULE(ft_smooth_renderer_class)
FT_USE_MODULE(tt_driver_class)
FT_USE_MODULE(t1_driver_class)
+FT_USE_MODULE(t42_driver_class)
FT_USE_MODULE(pfr_driver_class)
FT_USE_MODULE(winfnt_driver_class)
diff --git a/include/freetype/config/ftstdlib.h b/include/freetype/config/ftstdlib.h
index fcb46ba..a2a678d 100644
--- a/include/freetype/config/ftstdlib.h
+++ b/include/freetype/config/ftstdlib.h
@@ -59,6 +59,7 @@
#include <limits.h>
+
#define FT_UINT_MAX UINT_MAX
#define FT_ULONG_MAX ULONG_MAX
@@ -71,12 +72,15 @@
#include <ctype.h>
+
#define ft_isalnum isalnum
#define ft_isupper isupper
#define ft_islower islower
+#define ft_xdigit isxdigit
#include <string.h>
+
#define ft_strlen strlen
#define ft_strcmp strcmp
#define ft_strncmp strncmp
@@ -85,6 +89,7 @@
#define ft_strncpy strncpy
#define ft_memset memset
#define ft_memmove memmove
+#define ft_memcmp memcmp
/**********************************************************************/
@@ -95,8 +100,11 @@
#include <stdlib.h>
+
#define ft_qsort qsort
-#define ft_exit exit /* only used to exit from un-handled exceptions */
+#define ft_exit exit /* only used to exit from unhandled exceptions */
+
+#define ft_atoi atoi
/**********************************************************************/
@@ -105,6 +113,7 @@
/* */
/**********************************************************************/
+
#include <setjmp.h>
#define ft_jmp_buf jmp_buf /* note: this cannot be a typedef since */
diff --git a/src/Jamfile b/src/Jamfile
index b2f5d6e..f1b3b9b 100644
--- a/src/Jamfile
+++ b/src/Jamfile
@@ -1,4 +1,4 @@
-# FreeType 2 src Jamfile (c) 2001 David Turner
+# FreeType 2 src Jamfile (c) 2001, 2002 David Turner
#
SubDir FT2_TOP src ;
@@ -29,6 +29,7 @@ SubInclude FT2_TOP src sfnt ;
SubInclude FT2_TOP src smooth ;
SubInclude FT2_TOP src truetype ;
SubInclude FT2_TOP src type1 ;
+SubInclude FT2_TOP src type42 ;
SubInclude FT2_TOP src winfonts ;
# end of src Jamfile