Commit edbe61c5c1b239582258a2fb61af95b4508034e2

henry 2001-11-13T01:53:01

Updated fro v1.3b3

diff --git a/HISTORY.txt b/HISTORY.txt
index 2227cd0..4a99a56 100644
--- a/HISTORY.txt
+++ b/HISTORY.txt
@@ -1,4 +1,22 @@
-FTGL 1.21
+FTGL 1.3b3
+November 13 2001
+
+ 	1.3b3 (FTGL_1_3_BETA_3)
+	- Texture fonts now behave the same as the others and can be loaded on
+	  demand. This made FTGLTextureFont MUCH simpler!!!! It has also
+	  improved the grid fitting so less texture mem is needed.
+	- Refactored FTVectoriser...
+	  This now builds contours and meshes internally and then passes the
+	  raw point data onto the glyphs. The gluTess data is captured in an
+	  internal non static data structure fixing a memory Leak in PolyGlyph
+	  (glCombine). This has enabled...
+	- Extruded fonts. FTGLExtrdFont & FTExtrdGlyph.
+	- Reversed the winding for polyglyphs, extruded glyphs and texture
+	  glyphs to make them CCW
+	- Bounding box function
+	- Fixed the != and == operators in ftPoint
+	- Un-virtualised some functions in FTFont
+	- Added a demo app to dist.
 
 November 9 2001
  	1.21 (FTGL_1_2_1)
diff --git a/README.txt b/README.txt
index f5bba3a..6af34a1 100755
--- a/README.txt
+++ b/README.txt
@@ -1,9 +1,10 @@
-FTGL 1.21
-November 9 2001
+FTGL 1.3b3
+November 13 2001
 
 DESCRIPTION:
-FTGL library is a cross platform tool to allow OpenGL (www.opengl.org) to
-render characters from arbitrary fonts.
+
+FTGL is a free open source library to enable developers to use arbitrary
+fonts in their OpenGL (www.opengl.org)  applications.
 Unlike other OpenGL font libraries FTGL uses standard font file formats
 so doesn't need a preprocessing step to convert the high quality font data
 into a lesser quality, proprietary format.
@@ -13,10 +14,11 @@ for OpenGL rendering.
 
 Rendering modes supported are
 - Bit maps
-- Pix maps
+- Antialiased Pix maps
 - Texture maps
 - Outlines
 - Polygon meshes
+- Extruded polygon meshes
 
 FTGL is designed to be used in commercial quality software. It has been
 written with performance, robustness and simplicity in mind.
@@ -31,11 +33,12 @@ USAGE:
 	font.render( "Hello World!");
 
 This library was inspired by gltt, Copyright (C) 1998-1999 Stephane Rehel
-( gltt.sourceforge.net)
+(http://gltt.sourceforge.net)
 Bezier curve code contributed by Jed Soane.
-Demo, Linux port and gltt maintainance by Gerard Lanois
+Demo, Linux port, extrusion code and gltt maintainance by Gerard Lanois
 Linux port by Matthias Kretz
 Windows port by Max Rheiner
+Bug fixes by Robert Osfield
 
 Please contact me if you have any suggestions, feature requests, or problems.
 
@@ -65,21 +68,9 @@ init function so that they can return errors.
 
 good site...http://cgm.cs.mcgill.ca/~luc/
 
-PROFILING
-test 1
-100,000 frames. No openGL context.
-The results of the first profile are in and as expected using freetype to
-return the char index for a glyph is costing us. A staggering 10% of the
-rendering time in fact!!! Kerning has a similar impact.
-
-test 2
-100,000 frames. No openGL context.
-Performance results for the new FTCharmap class are quite satisfying:)
-The overall render time went from 12.009 seconds down to 4.595. The
-charIndex call went from 9.066 to 1.754. My concerns about the performance
-of std::map seemed to be unfounded in this case. Kerning is still an issue
-as can be seen in the proportional difference in these figures. I don't think
-this can be resolved easily.
+	glGetIntegerv( GL_TEXTURE_2D_BINDING_EXT, &activeTextureID);
+should really check at run time.
+
 
 
 Check that I do this properly..
diff --git a/TODO.txt b/TODO.txt
index ffeb033..dd0b814 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,11 +1,13 @@
-FTGL 1.21
-November 9 2001
+FTGL 1.3b3
+November 13 2001
 
 TODO:
 	- namespace ftgl or gltt?
 	- Distribution MACOS X
 	- Get rid of padding in texture font. It's not needed when using the
 	  global bounding box so FTSize should make that decision.
+	- make a decision about what units to use for font metrics!!!
+	- Hunt down and kill the bug in the polygon code.
 	
 FUTURE:
 	- select face ie italic, bold etc
@@ -19,17 +21,17 @@ FUTURE:
 	- Vertical formats
 	- For platforms that have antialiased lines but not polys we could
 	  outline the polyfonts with lines to get better looking glyphs.
-	- Improve the grid fitting scheme in texture fonts.
 	- Multiple Masters
 	- String Cache or string chunks
 	- Provide an interface to access the point data for outlines and
-	  polygon meshes.
-	- What effect does gluTessNormal() have?
-
+	  polygon meshes. Part way there with new vectoriser.
+	- Have a look at improving the algorthm for making curves. Maybe a
+	  distance metric might be the way to go so that rather than having
+	  5 polylines (0.2 step) for every curve, adjust the fineness for
+	  the length of the curve. But then you should also test the angle
+	  of the tangents as well.
 
 BUGS:
-	- Memory Leak in PolyGlyph (glCombine). This may disappear when access
-	  to the point data is sorted. NOTE this is not a fatal leak.
 	- Advance/Kerning is screwed up for really small point sizes eg 2 point.
 	  This is because I'm trying to use FT_Vector which is integer based.
 	  I will probably have to make my own struct with floats.