Updated fro v1.3b3
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
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.