kc3-lang/ftgl/src/FTGLTextureFont.cpp

Branch :


Log

Author Commit Date CI Message
4de174c4 2004-09-28 04:50:35 Fixed a bug where resizing FTGLTextureFont caused a GL error
9c4d8012 2004-09-26 09:45:18 Added an assert for a 0 maximum texture size. This is tripping some people up.
ce828a7d 2004-08-23 07:18:23 Got rid fo the GL_TEXTURE_2D_BINDING_EXT call in FTTextureGlyph and replaced it with a static member.
e2239437 2004-01-22 08:11:48 Changed FTGLTextureFont to use FTVector for texture id list.
59a0780e 2003-09-25 03:55:19 Changed to use FTGlyphSlot internally instead of FTGlyph
af2e589c 2003-06-03 02:44:14 Better variable name
f29956a1 2003-04-13 02:09:47 Fixed FTGLTextureFont resize bug
934106a4 2002-12-31 04:07:34 Fixed alignment issues for bitmap and texture glyphs
1310209b 2002-12-20 22:18:52 Removed comments and makeGlyphList function
d92d6af9 2002-12-19 10:25:03 Changed vars to GLunit
92bc1caf 2002-12-17 04:42:33 Renamed render to Render
59259511 2002-12-16 08:27:39 Refactored FTFont to get rid of Open function
13b74f08 2002-12-12 20:46:33 Pushed down numGlyph field
0381b78c 2002-12-11 09:25:32 Had to increase padding now that FTBBox uses floats.
618c11ff 2002-12-10 08:38:55 Changed size calculations to use floats
37f6b33d 2002-12-02 06:27:45 Minor tidy up.
f73f63a9 2002-11-27 07:46:25 Changes to the glyph loading flags
37c617f2 2002-11-23 09:02:46 Fixed PushAttrib call
71c2b540 2002-08-28 09:46:39 Reduced texture ID array size
9013e3ec 2002-06-20 08:22:06 Changes for VTK Removed tabs Removed mmgr Optimisations for loading pixel based fonts Minor changes
61e54cd2 2002-06-12 08:18:57 Reformatted and merged with 1.32
d2dc2ff9 2002-02-16 06:18:52 removed FT_Done_Glyph
8beda299 2002-02-02 00:15:12 Moved FT_Done_Glyph from FT*Glyph
15edcb37 2001-12-11 03:53:24 Tidied up includes
df61b3d8 2001-11-29 01:12:54 Added an include for mmgr
42d95631 2001-11-13 05:45:52 Fixed up the xOffset ( +padding)
d58c7be1 2001-11-12 22:28:36 Refactored texture fonts to ba able to load glyphs on the fly...uses glTexSubImage2D. They are now more in line with the rest of the fonts.
a5e3b58c 2001-11-05 21:00:30 Fixed a bug that was overunning the glyph list
789b1cf3 2001-11-04 04:33:30 Changes to allow glyphs to be loaded on the fly... MakeGlyphList is no longer pure virtual. New function MakeGlyph is pure virtual Open now has a flag for pre-cache GlyphContainer builds a list of null pointers advance and render functions check if glyph has been loaded and loads it if it has'nt
dc7f26f7 2001-11-01 20:05:15 Added padding to size calculations
82ec4afe 2001-10-29 20:09:59 Minor changes to fix some implicit type conversions
24f0f7f1 2001-10-28 04:06:52 Got rid of the static in FTTextureGlyph and tidied the code up
7003bfbf 2001-10-25 20:54:05 Removed the glEnable( GL_TEXTURE_2D) call
263722f7 2001-10-25 04:03:06 Re-ordered initialisation lists to keep project builder happy (MAC OSX)
1010afa2 2001-10-25 02:01:20 Removed redundant tempGlyph members
98e9ad48 2001-10-23 03:05:51 Enable texturing
df172ba4 2001-10-10 22:03:16 Minor changes, mainly to includes, for the windows port
5b3bba3f 2001-09-30 22:57:29 Changed std::memset to memset. Added using namespace std. This is for windows
6a024aef 2001-09-16 21:52:46 Updated for changes in *Glyph classes. Added unicode render function. Updated comments
15c06ee5 2001-09-14 01:11:02 Added FIXME comment for max number of textures
be741365 2001-08-27 22:03:36 If we get a NULL FT_Glyph we now report an error.
c31d4c66 2001-08-27 21:40:22 Added a check for a NULL glyph
f8bb8b42 2001-08-27 21:32:38 Changed the return type of FTFace::Glyph() from a reference to a pointer so I can return NULL on failure.
afb26f6e 2001-08-21 03:33:13 Glyphs are know retrieved from the FTFace object rather than with direct freetype calls.
e62d68b3 2001-08-20 22:51:21 Started being more strict with types eg integer indices and sizes are now unsigned.
aded3122 2001-08-20 21:44:00 Gerards fixes to compile under Linux
9f030717 2001-08-19 22:43:50 Major change to enable multiple textures. If all the glyphs for a given face and size don't fit within the max texture size we now create as many textures as required and switch automatically when rendering.
4fcbcd3c 2001-08-08 01:30:04 Changes to the charmap handling and fixed TextureSize()
3aa2297a 2001-08-07 21:30:15 Tidied up the error stuff and got rid of some redundant code. Added a note about glyph bounding boxes
be451805 2001-08-06 05:43:36 Added GL to openGL include paths
e0944402 2001-08-05 21:43:42 Made return type of render() void. Initialisation list. TextureSize() complete
55451abc 2001-08-01 04:19:26 Added code to calculate the min texture size
4cd99a38 2001-07-30 02:24:24 Rewrote the way the raster positon is set. The position is now kept in an FT_Vector called pen and pas into the glyphs, rather than the glyph calculating it's on raster position.
019af0d2 2001-07-26 05:11:34 This commit was generated by cvs2svn to compensate for changes in r2, which included commits to RCS files with non-trunk default branches.