preparing 2.1.0 release
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 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
diff --git a/ChangeLog b/ChangeLog
index 453f508..30078a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2002-04-15 David Turner <david@freetype.org>
+
+ * docs/FTL.txt: formatting
+
+ * include/freetype/config/ftoption.h: changing the size of the
+ render pool to 16Kb (instead of 32Kb).
+
+ * docs/CHANGES: preparing the 2.1.0 release
+
+
2002-04-13 Werner LEMBERG <wl@gnu.org>
* src/cff/cffgload.c (CFF_Parse_CharStrings): s/rand/Rand/ to avoid
@@ -648,6 +658,7 @@
* include/freetype/internal/fttrace.h: New file, to define the trace
levels used for debugging. It is used both to define enums and
toggle names for FT2_DEBUG.
+
* include/freetype/internal/internal.h: Updated.
* src/base/ftobjs.c, src/base/ftstream.c: Updated.
diff --git a/docs/CHANGES b/docs/CHANGES
index e4a8dde..bcc9d73 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -1,3 +1,146 @@
+LATEST CHANGES BETWEEN 2.1.0 and 2.0.9
+
+ I. IMPORTANT BUG FIXES
+
+ - The TrueType bytecode interpreter has been fixed to produce
+ _exactly_ the same output as FreeType 1.x. Previous differences
+ were due to slightly distinct fixed-point computation routines
+ used to perform dot products and vector length measurements.
+
+ It seems that native TrueType hinting is _extremely_ sensitive
+ to rounding errors. The required vector computation routines have
+ been optimized and placed within the "ttinterp.c" file.
+
+
+ II. NEW FEATURES
+
+ - The 'configure' script used on Unix systems has been modified to
+ check that GNU Make is being used to build the library. If not,
+ it will display a message proposing to use the GNUMAKE environment
+ variable to name it..
+
+ The Unix-specific file README.UNX has been modified accordingly
+
+
+ III. MISCELLANEOUS
+
+ - The FreeType License in 'docs/FTL.txt' has been updated to include
+ a proposed preffered disclaimer. If you're using FreeType in your
+ products, you're encouraged (but not mandated) to use the following
+ text in your documentation:
+
+ """
+ Portions of this software are copyright © 1996-2002 The FreeType
+ Project (www.freetype.org). All rights reserved.
+ """
+
+
+ - The default size of the render pool has been reduced to 16 Kb. This
+ shouldn't result in any noticeable performance penalty, unless you're
+ using the engine as-is to render very large and complex glyphs..
+
+
+ - The FreeType 2 Re-Design has begun. More information can be found
+ at the following web address:
+
+ http://www.freetype.org/freetype2/redesign.html
+
+ The following internal changes have been performed within the sources
+ of this release:
+
+ - many internal types have been renamed to increase consistency.
+ the following should be true, except for public types:
+
+ * all structure types have a name ending in "Rec" (short for
+ 'record').
+
+ * a pointer-to-structure type has the same name than the
+ structure, _without_ the "Rec" suffix.
+
+ for example:
+
+ typedef struct FooRec_
+ {
+ ....
+
+ } FooRec, *Foo;
+
+ - many internal macros have been renamed to increase consistency.
+ the following should be true:
+
+ * all macros have a name beginning in "FT_". This required
+ a few changes like:
+
+ ALLOC => FT_ALLOC
+ FREE => FT_FREE
+ REALLOC => FT_REALLOC
+
+
+ * all macro are completely UPPERCASE. This required a few
+ changes like:
+
+ READ_Short => FT_READ_SHORT
+ NEXT_Short => FT_NEXT_SHORT
+ GET_ULongLE => FT_GET_ULONG_LE
+ MEM_Set => FT_MEM_SET
+ MEM_Copy => FT_MEM_COPY
+ etc..
+
+ * whenever possible, all macro names follow the FT_<OBJECT>_<METHOD>
+ pattern. For example:
+
+ ACCESS_Frame => FT_FRAME_ENTER
+ FORGET_Frame => FT_FRAME_EXIT
+ EXTRACT_Frame => FT_FRAME_EXTRACT
+ RELEASE_Frame => FT_FRAME_RELEASE
+
+ FILE_Pos => FT_STREAM_POS
+ FILE_Seek => FT_STREAM_SEEK
+ FILE_Read => FT_STREAM_READ
+ FILE_ReadAt => FT_STREAM_READ_AT
+ READ_Fields => FT_STREAM_READ_FIELDS
+
+
+ - many internal functions have been renamed to follow the
+ FT_<Object>_<Method> pattern. For example:
+
+ FT_Seek_Stream => FT_Stream_Seek
+ FT_Read_Stream_At => FT_Stream_ReadAt
+ FT_Done_Stream => FT_Stream_Close
+ FT_New_Stream => FT_Stream_Open
+ FT_New_Memory_Stream => FT_Stream_OpenMemory
+ FT_Extract_Frame => FT_Stream_ExtractFrame
+
+ note that method names do not contain "_".
+
+
+ - the FT_ALLOC_ARRAY and FT_REALLOC_ARRAY have been removed and
+ are now replaced by FT_NEW_ARRAY and FT_RENEW_ARRAY which do
+ not take a type as the fourth argument. Instead, the array
+ element type size is computed automatically from the type
+ of the target pointer used.
+
+
+ - a new object class, named FT_CMap has been introduced. These
+ internal objects are used to model character maps. This eases
+ the support of additional charmap types within the engine
+
+
+ - a new configuration file named "ftstdlib.h" has been added
+ to 'include/freetype/config'. It is used to define aliases
+ for _every_ routine of the ISO C library that the font engine
+ uses. Each aliases has a "ft_" prefix (e.g. "ft_strlen" is an
+ alias for "strlen").
+
+ this is used to ease the porting of FT2 to exotic runtime
+ environments where the ISO C Library isn't available (e.g.
+ XFree86 extension modules).
+
+
+
+ More details are available in the "ChangeLog" file.
+
+
LATEST CHANGES BETWEEN 2.0.9 and 2.0.8
I. IMPORTANT BUG FIXES
diff --git a/docs/FTL.txt b/docs/FTL.txt
index c422629..0967302 100644
--- a/docs/FTL.txt
+++ b/docs/FTL.txt
@@ -48,8 +48,8 @@ Introduction
encourage you to use the following text:
"""
- Portions of this software are copyright © 1996-2002 The FreeType Project
- (www.freetype.org). All rights reserved.
+ Portions of this software are copyright © 1996-2002 The FreeType
+ Project (www.freetype.org). All rights reserved.
"""
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index a54c844..bab0d84 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -243,7 +243,6 @@ FT_BEGIN_HEADER
#undef FT_EXPORT
#undef FT_EXPORT_DEF
-
/*************************************************************************/
/* */
/* Debug level */
@@ -284,7 +283,7 @@ FT_BEGIN_HEADER
/* */
/* This must be greater than 4kByte. */
/* */
-#define FT_RENDER_POOL_SIZE 32768L
+#define FT_RENDER_POOL_SIZE 16384L
/*************************************************************************/