Debian Codegraph @

NEWS

raw
1 -*- coding: utf-8 -*-
2 FTGL
3 ====
4
5 Included below are release notes for all versions of FTGL that have
6 been released to date. All versions prior to and including version
7 2.1.2 were exclusively developed by Henry Maddocks. Subsequent
8 versions have changes attributed per contributor.
9
10 ----------------------------------------------------------------------
11 --- 2019-02-07 Release 2.4.0 ---
12 ----------------------------------------------------------------------
13
14 * New setting LegacyOpenGLState(), see README-LegacyOpenGLState
15 * Fix/silence compiler warnings
16
17 ----------------------------------------------------------------------
18 --- 2018-11-21 Release 2.3.1 ---
19 ----------------------------------------------------------------------
20
21 * Updates to debian/ build files
22
23 ----------------------------------------------------------------------
24 --- 2018-10-14 Release 2.3.0 ---
25 ----------------------------------------------------------------------
26
27 * Fix a memory leak
28 * FTContour: avoid NaN for angles close to 180 degrees
29 (see Debian bug #589601, 5.)
30 * FTBufferGlyph: fix garbage with bitmap fonts
31 (text is still clipped, that seems to be another problem)
32 * FTTextureGlyphImpl: fix garbage with bitmap fonts
33 (see Debian bug #589601, 4.)
34 * FTPixmapGlyph: fix garbage with bitmap fonts
35 (see Debian bug #589601, 2.)
36 * FTOutlineGlyphImpl, FTPolygonGlyphImpl: avoid uninizitalized
37 vectoriser in case of error (see Debian bug #589601, 1.)
38 * Various other bugfixes collected through the years
39
40 ----------------------------------------------------------------------
41 --- 2008-06-19 Release 2.2.0 ---
42 ----------------------------------------------------------------------
43
44 * Stable API. Public headers are now frozen.
45 * Fixed several memory corruption and crash bugs - Sam Hocevar
46 * Fixed several memory leaks - Sam Hocevar
47 * Kerning and glyph performance enhancements - Sean Morrison
48 * The library now also exports a pure C interface - Éric Beets
49 * Inset/outset contour support for fonts - Éric Beets
50 * Fix the FTLayout rendering - Éric Beets
51 * Added new FTLayout and FTSimpleLayout support for layout
52 managers - Sam Hocevar
53 * Fixed the paths in the XCode project - Henry Maddocks
54 * Changed the behaviour of some objects so that if there is an
55 error their state isn't changed - Henry Maddocks
56 * New, fast FTBufferFont texture fonts - Sam Hocevar
57 * UTF-8 support - Daniel Remenak
58
59 ----------------------------------------------------------------------
60 --- 2004-12-11 Release 2.1.2 ---
61 ----------------------------------------------------------------------
62
63 * Changed the way the colour is specified for Pixmap fonts. It can
64 now be done per string rather than at start up as previous.
65 * Fixed a couple of compilation errors caused by the new FTPoint
66 stuff, mostly...
67 * More const correctness. It's like a virus!
68
69 ----------------------------------------------------------------------
70 --- 2004-12-05 Release 2.1.1 ---
71 ----------------------------------------------------------------------
72
73 * Added the xCode project properly this time.
74
75 ----------------------------------------------------------------------
76 --- 2004-12-05 Release 2.1.0 ---
77 ----------------------------------------------------------------------
78
79 * Added texture co-ordinates to the geometry based font types.
80 * Added the ability to turn off (or on) glDisplayList creation
81 inside FTGL.
82 * Removed unnecessary translates in the glyph rendering code.
83 * Moved the Mac project to XCode.
84 * Added a line height function to FTFont.
85 * Got rid of the GL_TEXTURE_2D_BINDING_EXT call and replaced it
86 with a static member.
87 * Fixed a bug where resizing FTGLTextureFont caused a GL error.
88 * Refactored FTPoint quite a bit.
89 * More unit tests. Fixed a heap of bugs.
90
91 ----------------------------------------------------------------------
92 --- 2004-08-16 Release 2.0.11 ---
93 ----------------------------------------------------------------------
94
95 * Updated FTFont( *pBufferBytes, bufferSizeInBytes) documentation.
96
97 ----------------------------------------------------------------------
98 --- 2004-08-16 Release 2.0.10 ---
99 ----------------------------------------------------------------------
100
101 * Fixed tab problem in unix Makefile.
102 * Added CYGWIN GLUTesselatorFunction define to FTVectoriser.
103
104 ----------------------------------------------------------------------
105 --- 2004-04-21 Release 2.0.9 ---
106 ----------------------------------------------------------------------
107
108 * Fixed includes for pre 2.1.7 versions of freetype
109 * Changed unix build to create FTGL subdir for includes
110
111 ----------------------------------------------------------------------
112 --- 2004-04-09 Release 2.0.8 ---
113 ----------------------------------------------------------------------
114
115 * Fixes for deprecated identifiers in 2.1.5
116 * Changed the internals to use FTGlyphSlot instead of FTGlyph
117 * Added a unit test for FTBitmapGlyph, FTCharToGlyphIndexMap.
118 * Fixed a memory leak in FTGlyphContainer.
119 * Added the ability to get the list of charmaps in the font.
120 * Changed FTGLTextureFont to use FTVector for texture id list.
121
122 ----------------------------------------------------------------------
123 --- 2003-08-31 Release 2.07 ---
124 ----------------------------------------------------------------------
125
126 * Minor fix for unix build scripts.
127 * Minor fix for unit tests.
128
129 ----------------------------------------------------------------------
130 --- 2003-08-25 Release 2.06 ---
131 ----------------------------------------------------------------------
132
133 * Updated the unix build scripts.
134
135 ----------------------------------------------------------------------
136 --- 2003-08-25 Release 2.05 ---
137 ----------------------------------------------------------------------
138
139 * Refactored FTGlyphContainer & FTCharmap. They now store FTGlyphs
140 sequentially rather than by glyph index. This should save a heap
141 of memory and a bit of time at startup.
142 * Changed the Mac font paths in the demos.
143 * Changed the unit tests for new hinter in Freetype 2.1.4.
144 * Added a test for broken contour tags.
145
146 ----------------------------------------------------------------------
147 --- 2003-04-12 Release 2.04 ---
148 ----------------------------------------------------------------------
149
150 * Fixed resize behavior in FTGLTextureFont.
151
152 ----------------------------------------------------------------------
153 --- 2003-04-09 Release 2.03 ---
154 ----------------------------------------------------------------------
155
156 * Fix in FTContour to handle broken contours.
157
158 ----------------------------------------------------------------------
159 --- 2003-04-03 Release 2.02 ---
160 ----------------------------------------------------------------------
161
162 * Fixed memory leaks
163
164 ----------------------------------------------------------------------
165 --- 2003-03-14 Release 2.01 ---
166 ----------------------------------------------------------------------
167
168 * Minor changes to autoconf to detect glu
169
170 ----------------------------------------------------------------------
171 --- 2003-03-11 Release 2.0 ---
172 ----------------------------------------------------------------------
173
174 * Fixed some alignment bugs caused by changes to Freetype
175 ( > 2.0.9).
176 * Minor fixes to float declarations.
177 * Moved FTBBox and FTPoint to their own files and added Move()
178 and operator += to FTBBox
179 * Replaced FT_Vector with FTPoint for kerning.
180 * Fixed the glPushAttrib calls.
181 * Changed gluTess callback def.
182 * Rewriting FTGLDemo.
183 * Minor fixes for irix.
184 * Removed a bunch of redundant members and made them function
185 locals.
186 * Removed the Open() & Close() functions from FTFont because there
187 was no way to handle Close correctly which makes Open redundant.
188 * Removed Open() from FTface.
189 * Improved the robustness of some of the error handling.
190 * Removed the FTCharmap Platform/Encoding function.
191 * Added unit tests.
192 * Removed the precache flag.
193 * Unvirtualised functions in FTLibrary and FTGlyphContainer.
194 * Fixed empty string bug in FTFont::BBox.
195 * Refactored FTContour and moved it to its own file.
196 * Removed unnecessary memory allocations in vector Glyphs. They
197 now access the vector data directly.
198 * Made vectoriser a local variable in vector glyphs.
199 * Fixed a long standing visual bug in FTVectoriser.
200 * Changed size calculations to use floats instead of ints. This
201 includes FTBBox.
202 * Refactored FTGlyph. Now calculates advance (as a float) and
203 bbox.
204 * Changed contourList from FTVector to an array in FTVectoriser.
205 * Made function and member names more consistant.
206 * Moved header files to include directory.
207 * Mesh now uses a list for glCombine points.
208 * Delete the display lists.
209 * Unix AutoConf support.
210 * Attach 'files' from memory.
211
212 ----------------------------------------------------------------------
213 --- 2002-10-23 Release 1.4 ---
214 ----------------------------------------------------------------------
215
216 * FTGL now requires 2.0.9 or later. See below for reason.
217 * Merged 1.32 branch with main tree
218 * Glyph loading has been optimised for pixel based glyphs.
219 * Removed mmgr
220 * Added FTFont::Attach
221 * Updated API docs
222 * Removed stl map and vector. Replaced by code supplied by
223 Sebastien Barre
224 * Removed work around for Type1 height and width bug in
225 freetype. It seems to be fixed in 2.0.9
226 * Added a test target to the Mac OSX project
227 * Inline some private functions.
228
229 ----------------------------------------------------------------------
230 --- 2002-04-23 Release 1.32 ---
231 ----------------------------------------------------------------------
232
233 * Fixed enable state attribute in FTGLBitmapFont
234 * Wrapped tb.h & trackball.h in EXTERN "C"
235 * Renamed FTGLDemo to .cpp
236 Ellers...
237 * New MSVC projects updated to v1.3
238 * Removed a lot of unnecessary Windows stuff from ftgl.h
239 * Added functions to load font from memory.
240 * Fixed a couple of Windows 'for' scope problems in FTExtrdGlyph
241 * FTGLDemo. Added #define for windows font
242
243 ----------------------------------------------------------------------
244 --- 2002-01-30 Release 1.31 ---
245 ----------------------------------------------------------------------
246
247 * Forgot to update readme etc for 1.3
248
249 ----------------------------------------------------------------------
250 --- 2002-01-27 Release 1.3b5 ---
251 ----------------------------------------------------------------------
252
253 * FTBbox now uses float rather then int
254 * Fixed some more warnings (size_t)
255 * Removed the contour winding function because it didn't fix the
256 problem!!
257 * Fixed up some state settings in fonts.
258
259 ----------------------------------------------------------------------
260 --- 2001-12-11 Release 1.3b4 ---
261 ----------------------------------------------------------------------
262
263 * Added MAC OSX project (Project Builder)
264 * Added a function for extruded glyphs that calculates the winding
265 order of the glyph contour.
266 * Added FTGL_DEBUG to include memory debugger.
267 * Added a couple of typedefs to FTGL.h, mainly to aid debugging
268 * Cleaned up the includes.
269
270 ----------------------------------------------------------------------
271 --- 2001-11-13 Release 1.3b3 ---
272 ----------------------------------------------------------------------
273
274 * Texture fonts now behave the same as the others and can be
275 loaded on demand. This made FTGLTextureFont MUCH simpler!!!! It
276 has also improved the grid fitting so less texture mem is
277 needed.
278 * Refactored FTVectoriser...
279 This now builds contours and meshes internally and then passes
280 the raw point data onto the glyphs. The gluTess data is captured
281 in an internal non static data structure fixing a memory Leak in
282 PolyGlyph (glCombine).
283 This has enabled...
284 * Extruded fonts. FTGLExtrdFont & FTExtrdGlyph.
285 * Reversed the winding for polyglyphs, extruded glyphs and texture
286 glyphs to make them CCW
287 * Bounding box function
288 * Fixed the != and == operators in ftPoint
289 * Un-virtualised some functions in FTFont
290 * Added a demo app to dist.
291
292 ----------------------------------------------------------------------
293 --- 2001-11-09 Release 1.21 ---
294 ----------------------------------------------------------------------
295
296 * Visual Studio projects updated for .cpp source file extensions.
297 * A couple of windows 'cast' warnings have been fixed.
298
299 ----------------------------------------------------------------------
300 --- 2001-11-06 Release 1.2 ---
301 ----------------------------------------------------------------------
302
303 * Glyphs can now be loaded on the fly instead of being
304 pre-cached. If FTFont::Open() is called with false,
305 FTGlyphContainer will build a list of null pointers. Then when
306 ever a glyph needs to be access eg by FTFont::advance or
307 FTFont::render, it will be built and slotted into the glyphlist
308 in the correct position.
309 * Removed glext.h from FTGL.h and replaced it with a test for
310 GL_EXT_texture_object.
311 * Added padding to texture size calculations.
312 * Fixed a NASTY bug in FTGLTextureFont. Only came to light after
313 changes to the glyph preprocessing.
314
315 ----------------------------------------------------------------------
316 --- 2001-10-31 Release 1.1 ---
317 ----------------------------------------------------------------------
318
319 * Renamed the source to .cpp
320 * Removed the static activeTextureID from FTTextureGlyph and
321 replaced it with a call to
322 glGetIntegerv( GL_TEXTURE_2D_BINDING_EXT, &activeTextureID);
323 * Added an include for glext.h in FTGL.h
324 * Tidied up the glbegin/glEnd pairs in FTTextureGlyph &
325 FTGLTextureFont
326 * Fixed the problem with doc filenames.
327 * Tidied up some implicit type conversions.
328 * Fixed FTCharMap to ensure that a valid default charmap is always
329 created by the c_stor.
330
331 ----------------------------------------------------------------------
332 --- 2001-10-26 Release 1.01 ---
333 ----------------------------------------------------------------------
334
335 * Removed the glEnable( GL_TEXTURE_2D) from FTGLTextureFont
336 * Removed the redundant tempGlyph members in the FTGLXXXXFont
337 classes
338 * Made a change in FTGL.h to include correct headers for MAC OSX
339 * FTGL.h now includes glu.h
340 * Minor fixes to get rid of Project Builder warnings (MAC OSX)
341 * Fixed some of the docs
342
343 ----------------------------------------------------------------------
344 --- 2001-10-24 Release 1.0 ---
345 ----------------------------------------------------------------------
346
347 * Version 1.0 release
348
349 ----------------------------------------------------------------------
350 --- 2001-09-29 Release 1.0b7 ---
351 ----------------------------------------------------------------------
352
353 * Tesselation winding rules
354 * Fixed bug in FTContour Add point function
355 * Cleaned up disposal of FTCharmap in FTFace
356 * renamed FTVectorGlyph to FTOutlineGlyph
357 * New distribution structure
358 * Minor changes for windows (VC 6)
359 * Windows and Linux ports.
360
361 ----------------------------------------------------------------------
362 --- 2001-09-20 Release 1.0b6 ---
363 ----------------------------------------------------------------------
364
365 * Implemented the new FTCharmap class. The performance improvement
366 is dramatic.
367 * Tidied up the way the freetype FT_Face object is disposed of by
368 FTFont and FTFace. This was a potential crash.
369 * FTVectorGlyph and FTPolyGlyph now disposes of the freetype glyph
370 correctly after initialsation. This was a potential crash.
371 * Preliminary support for unicode...wchar_t Tested with non
372 european fonts.
373 * Added function to calc the advance width of a string.
374 * Minor tidy ups.
375
376 ----------------------------------------------------------------------
377 --- 2001-08-29 Release 1.0b5 ---
378 ----------------------------------------------------------------------
379
380 * Settled on integers for FTSize stuff. NOTE the FTGlyph stuff is
381 still up in the air.
382 * Fixed the positional stuff.
383 * Added Java Doc comments. NOT COMPLETE
384 * Fixes for linux, mainly to clear warnings.
385 * changed the return type for FTFace::Glyph() from a reference to
386 a pointer so it can return NULL on failure.
387 * Related to above...better error handling and reporting in
388 FTGLXXXFont::MakeGlyphList()
389 * Fixed a bug in FTVectoriser that was ignoring non printing
390 characters. This meant that the pen wasn't advanced for spaces
391 etc. It affected polygon and outline font rendering.
392 * Minor tidy ups.
393
394 ----------------------------------------------------------------------
395 --- 2001-08-21 Release 1.0b4 ---
396 ----------------------------------------------------------------------
397
398 * Changed the mode for FT_Load_Glyph to FT_LOAD_NO_HINTING |
399 FT_LOAD_NO_BITMAP for outline and polygon fonts &
400 FT_LOAD_NO_HINTING for texture fonts. Seems to produce better
401 looking glyphs.
402 * FTGLTextureFont can now use multiple textures to render glyphs
403 if they don't fit within one GL_MAX_TEXTURE_SIZE texture.
404 * Changed FTSize to use bbox for global width and height. Needs
405 more work (eg float or int?) and need to check inconsistancies
406 in freetype.
407 * Being more strict with types eg integer indices and sizes are
408 now unsigned.
409
410 ----------------------------------------------------------------------
411 --- 2001-08-08 Release 1.0b3 ---
412 ----------------------------------------------------------------------
413
414 * I've made fundamental change to the way the glyphlist is
415 built. This is to get round the problems I was having with
416 charmaps. At this stage it is a temporary solution. Previously
417 the glyphList was indexed by char code. Now it's indexed by
418 glyph index and the conversion is done by the freetype function
419 FT_Get_Char_Index(). If this proves to be too slow I'll make my
420 own charmap and use it to index into the glyphlist. This has
421 fixed all the charmap related problems/bugs.
422 * Enabled alpha blend in Pixmap font.
423 * Enabled LINE_SMOOTH in Outline font
424 * Fixed bug that prevented the display of chars >127
425 * Moved pixel store stuff out of BitmapGlyph into BitmapFont.
426 * Minor changes for IRIX (compiles but isn't tested)
427 * Pixmap fonts can now be in colour. It uses the current colour
428 when the font is CREATED. This isn't ideal but is better than
429 the alternatives.
430 * Tidied up the error handling.
431 * Minor code clean ups.
432
433 ----------------------------------------------------------------------
434 --- 2001-08-06 BETA Release 1.0b2 ---
435 ----------------------------------------------------------------------
436
437 * Minor tidy ups for first public release.
438
439 ----------------------------------------------------------------------
440 --- 2001-08-03 First BETA Release 1.0b1 ---
441 ----------------------------------------------------------------------
442
443 * All font types are now working, Bitmaps, Pixmaps, Texture,
444 Outline and Polygons. Quality of output and performance varies
445 wildly. :)
446
447 ----------------------------------------------------------------------
448 --- 2001-07-22 First ALPHA Release 1.0a1 ---
449 ----------------------------------------------------------------------
450
451 * And so it begins.