src/FTGLTextureFont.cpp


Log

Author Commit Date CI Message
sammy 141112c4 2008-04-12T22:44:48 * Add licensing information to all files in the library.
sammy 8b9739ee 2008-04-11T16:24:56 * C bindings for FTGL, written by Éric Beets <ericbeets@free.fr>.
sammy 7c358859 2008-04-04T12:43:38 * Generate a config.h file instead of passing all defines in the compiler command line. * "make install" now properly installs the includes, the documentation and the .pc file. * Generate a shared library.
sammy ee107630 2008-03-03T16:41:35 * Remove svn:executable property from source files.
sammy f0f550ea 2008-03-03T16:36:07 * Remove svn:executable property from source files.
henry 35a714a4 2004-12-10T09:51:45 Added include for assert
henry 3d3a4852 2004-10-08T11:37:28 Changed a couple of variable names.
henry 4de174c4 2004-09-28T04:50:35 Fixed a bug where resizing FTGLTextureFont caused a GL error
henry 9c4d8012 2004-09-26T09:45:18 Added an assert for a 0 maximum texture size. This is tripping some people up.
henry ce828a7d 2004-08-23T07:18:23 Got rid fo the GL_TEXTURE_2D_BINDING_EXT call in FTTextureGlyph and replaced it with a static member.
henry e2239437 2004-01-22T08:11:48 Changed FTGLTextureFont to use FTVector for texture id list.
henry 59a0780e 2003-09-25T03:55:19 Changed to use FTGlyphSlot internally instead of FTGlyph
henry e674078e 2003-07-21T09:46:25 Merged FTGL_2_0_4
henry af2e589c 2003-06-03T02:44:14 Better variable name
henry f29956a1 2003-04-13T02:09:47 Fixed FTGLTextureFont resize bug
henry 934106a4 2002-12-31T04:07:34 Fixed alignment issues for bitmap and texture glyphs
henry 1310209b 2002-12-20T22:18:52 Removed comments and makeGlyphList function
henry d92d6af9 2002-12-19T10:25:03 Changed vars to GLunit
henry 92bc1caf 2002-12-17T04:42:33 Renamed render to Render
henry 59259511 2002-12-16T08:27:39 Refactored FTFont to get rid of Open function
henry 13b74f08 2002-12-12T20:46:33 Pushed down numGlyph field
henry 0381b78c 2002-12-11T09:25:32 Had to increase padding now that FTBBox uses floats.
henry 618c11ff 2002-12-10T08:38:55 Changed size calculations to use floats
henry 37f6b33d 2002-12-02T06:27:45 Minor tidy up.
henry f73f63a9 2002-11-27T07:46:25 Changes to the glyph loading flags
henry 37c617f2 2002-11-23T09:02:46 Fixed PushAttrib call
henry 71c2b540 2002-08-28T09:46:39 Reduced texture ID array size
henry 9013e3ec 2002-06-20T08:22:06 Changes for VTK Removed tabs Removed mmgr Optimisations for loading pixel based fonts Minor changes
henry 61e54cd2 2002-06-12T08:18:57 Reformatted and merged with 1.32
henry d2dc2ff9 2002-02-16T06:18:52 removed FT_Done_Glyph
henry 8beda299 2002-02-02T00:15:12 Moved FT_Done_Glyph from FT*Glyph
henry 15edcb37 2001-12-11T03:53:24 Tidied up includes
henry df61b3d8 2001-11-29T01:12:54 Added an include for mmgr
henry 42d95631 2001-11-13T05:45:52 Fixed up the xOffset ( +padding)
henry d58c7be1 2001-11-12T22: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.
henry a5e3b58c 2001-11-05T21:00:30 Fixed a bug that was overunning the glyph list
henry 789b1cf3 2001-11-04T04: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
henry dc7f26f7 2001-11-01T20:05:15 Added padding to size calculations
henry 82ec4afe 2001-10-29T20:09:59 Minor changes to fix some implicit type conversions
henry 24f0f7f1 2001-10-28T04:06:52 Got rid of the static in FTTextureGlyph and tidied the code up
henry 7003bfbf 2001-10-25T20:54:05 Removed the glEnable( GL_TEXTURE_2D) call
henry 263722f7 2001-10-25T04:03:06 Re-ordered initialisation lists to keep project builder happy (MAC OSX)
henry 1010afa2 2001-10-25T02:01:20 Removed redundant tempGlyph members
henry 98e9ad48 2001-10-23T03:05:51 Enable texturing
henry df172ba4 2001-10-10T22:03:16 Minor changes, mainly to includes, for the windows port
henry 5b3bba3f 2001-09-30T22:57:29 Changed std::memset to memset. Added using namespace std. This is for windows
henry 6a024aef 2001-09-16T21:52:46 Updated for changes in *Glyph classes. Added unicode render function. Updated comments
henry 15c06ee5 2001-09-14T01:11:02 Added FIXME comment for max number of textures
henry be741365 2001-08-27T22:03:36 If we get a NULL FT_Glyph we now report an error.
henry c31d4c66 2001-08-27T21:40:22 Added a check for a NULL glyph
henry f8bb8b42 2001-08-27T21:32:38 Changed the return type of FTFace::Glyph() from a reference to a pointer so I can return NULL on failure.
henry afb26f6e 2001-08-21T03:33:13 Glyphs are know retrieved from the FTFace object rather than with direct freetype calls.
henry e62d68b3 2001-08-20T22:51:21 Started being more strict with types eg integer indices and sizes are now unsigned.
henry aded3122 2001-08-20T21:44:00 Gerards fixes to compile under Linux
henry 9f030717 2001-08-19T22: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.
henry 4fcbcd3c 2001-08-08T01:30:04 Changes to the charmap handling and fixed TextureSize()
henry 3aa2297a 2001-08-07T21:30:15 Tidied up the error stuff and got rid of some redundant code. Added a note about glyph bounding boxes
henry be451805 2001-08-06T05:43:36 Added GL to openGL include paths
henry e0944402 2001-08-05T21:43:42 Made return type of render() void. Initialisation list. TextureSize() complete
henry 55451abc 2001-08-01T04:19:26 Added code to calculate the min texture size
henry 4cd99a38 2001-07-30T02: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.
henry 019af0d2 2001-07-26T05: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.