src/FTFont/FTBufferFont.cpp


Log

Author Commit Date CI Message
sammy 5c9dbfd7 2011-05-21T09:51:18 FTFont: replace glTexEnvf with glTexEnvi where appropriate. Fix courtesy of Bill Robinson <airbaggins@gmail.com>.
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 d10af39f 2010-05-23T00:24:14 Properly handle Render's position argument in FTTextureFont and FTBufferFont. Addresses SF bug #2883801.
sammy 309590c0 2010-05-22T17:47:46 Fix padding usage in FTBufferFont, patch courtesy of Benlitz. Addresses sourceforge bug #2023590.
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.
sammy ebd805d1 2008-06-12T14:13:05 * Prevent issues when strndup is defined as a macro.
dtremenak 4388dc7a 2008-06-11T23:23:05 provide for us poor sobs who don't have a native strndup implementation
sammy a132a5e4 2008-06-09T11:45:52 * Document and reorganise FTBuffer. It is now clean enough.
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 632c866d 2008-06-08T15:55:19 * Add a comment to FTBufferFont to not forget about bugs in it.
sammy 7e2d6252 2008-06-03T12:23:25 * FTBufferFont: use strndup() and, when available, wcsdup().
sammy cdc9b560 2008-06-03T12:23:07 * Coding style: remove tabs and trailing spaces, wrap long lines.
dtremenak dd224b27 2008-05-24T19:04:02 from BZFlag r17264: rewrite StringCopy. wcscpy is not a standard function; we have logic for doing it ourselves already (minus the len = 0 case), so handle len = 0 and do it all ourselves.
sammy 95183df2 2008-05-23T00:16:54 * Start protecting FTBuffer members using getters and setters.
sammy 5de43fe6 2008-05-22T15:31:32 * Empty the FTBufferFont cache when changing the face size.
sammy b73f2e81 2008-05-22T12:39:48 * Implement caching in FTBufferFont. To avoid unnecessary texture uploads, each font object keeps the last 16 strings in the graphic card.
sammy 865b9043 2008-05-22T12:39:12 * Fix an off-by-one error in FTBufferGlyph::Render.
sammy 3d018d80 2008-05-21T16:37:54 * Fix the quad vertex order in FTBufferFont.
sammy 901ee76c 2008-05-21T15:45:11 * Fix a texture coordinate bug caused by our next-power-of-two ceiling.
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 ca7c7a81 2008-05-20T23:49:25 * First try at the FTBufferFont/FTBufferGlyph implementation.
sammy f7d00178 2008-05-19T15:45:47 * Starting the buffer font class revival. For now, it just consists in empty FTBuffer, FTBufferGlyph and FTBufferFont classes.