src/FTFont/FTTextureFont.cpp


Log

Author Commit Date CI Message
sammy cc4f28ba 2010-05-23T00:34:49 Set GL_TEXTURE_ENV_MODE to GL_MODULATE whenever necessary, to avoid rendering an empty rectangle. Addresses SF bug #2253040.
sammy 8157485d 2010-05-22T22:49:21 Fix texture height computation in FTTextureFont. Patch courtesy of Simone Contini. Addresses SF bug #2827618.
sammy 2723c7d3 2010-05-22T22:17:27 Fix a division by zero in FTTextureFont.cpp. Addresses SF bug #2692128.
sammy 29603ae3 2009-07-19T15:28:59 Remove GL_BLEND tampering. It's the caller application's responsibility to enable or disable blending.
sammy cab1fafd 2009-07-19T13:05:50 Update my e-mail address everywhere.
jwmelto 2766703a 2008-09-08T03:16:59 Eliminate some double->float conversions for performance
sammy c5bcad81 2008-06-09T12:57:41 * Add my copyright information to files I modified significantly. * Add the Unicode, Inc. to the list of authors because of FTUnicode.h.
sammy 14e3e435 2008-06-09T10:11:58 * Create FTFont::GlyphLoadFlags() to vary FT_Load_Glyph() calls according to the font type. Now we no longer load vector information when not needed.
sammy fa5631df 2008-05-21T15:43:52 * Add proper glPushAttrib() and glPushClientAttrib() calls to the rendering methods that need them.
sammy 68a99036 2008-05-21T11:39:31 * Enable GL_TEXTURE_2D in FTFont::Render variations that need it.
sammy 20ac99b1 2008-05-11T11:28:08 * FTFont::Advance(), FTFont::Render() and FTFont::BBox() are now far more powerful, allowing for substring display and extra spacing between characters.
sammy d39c7838 2008-05-11T11:26:12 * Kill 180 lines of code by removing duplicate *::Render() functions and giving a default value to the renderMode parameter.
dtremenak eb45c699 2008-05-06T06:38:37 VC build fixes from bzflag revs 17848-17852. * size_t consistency * avoid coercing from int to bool * make casts from double to float explicit rather than implicit, mostly by way of a few new getter functions in FTPoint, or avoid if possible.
sammy f7b79437 2008-05-05T14:55:11 * Refactor FTGlyph, FTFont and FTLayout so that client applications can hopefully subclass them.
sammy 68bcaf26 2008-05-05T14:52:48 * Rename FTTextureFontImpl::MakeGlyph to FTTextureFontImpl::MakeGlyphImpl to avoid confusion.
sammy 0a28e5d3 2008-05-04T19:39:34 * Put MakeGlyph back into FT*Font classes instead of FT*FontImpl, and make it use as few FT*FontImpl members as possible so that external application may actually have a chance to properly subclass us.
brlcad b7c7e131 2008-05-04T02:58:40 refer to local/private headers with local path inclusion, otherwise the search include paths are wrong
sammy 822d0f8f 2008-05-01T18:30:29 * Avoid crashing when the texture size is so small that its integer size becomes zero. At the same time, round many floats instead of simply flooring them to int. First part by Sean Morrison from bzflag commit r14590.
sammy 40644e3b 2008-05-01T14:19:34 * Patches by Sean Morrison, from BzFlag commits r15755 and r14843: + Only delete textures if there is at least one of them. + Ensure that the FTTextureFont data members get set for all cases. * Added Sean to the AUTHORS file.
sammy 129a4733 2008-05-01T13:42:49 * Store FTPoints in the BBox object instead of floats. This was a todo from Henry.
sammy fa7d0739 2008-05-01T09:31:27 * Mass consistency renaming: the fonts' "FTGL" prefix is dropped in favour of "FT" because all other types use only the latter. * Rename "Extrd" types to "Extrude" because the former doesn't really make much sense. * Added appropriate #defines so that legacy applications still build.