src/FTGlyph


Log

Author Commit Date CI Message
sammy b7036d0c 2009-07-19T14:26:13 Fix coding style and remove tabs here and there.
sammy cab1fafd 2009-07-19T13:05:50 Update my e-mail address everywhere.
sammy abaf40a5 2009-04-01T16:22:45 Remove trailing spaces and tabs to ease syncs bzflag needs to do.
brlcad 6ce3b10b 2008-10-31T22:33:44 pulled from downstream bzflag. apply sf patch 2210898 (Fix for some potential FTGL issues) from Matt Handley (applmak) where he adds some asserts that check for the conditions that provoke glTexSubImage2D to return GL_INVALID_VALUE. this is being provoked by ftgl during Advance when the font size (0-2) is smaller than the hard-coded default font padding size (3).
sammy 78bec1e6 2008-06-12T14:13:35 * ftglCreateBufferGlyph: do not export FTBufferFont in the C API: we do not have easy ways to emulate the FTBuffer object.
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 a132a5e4 2008-06-09T11:45:52 * Document and reorganise FTBuffer. It is now clean enough.
sammy 6c2a187c 2008-06-08T15:56:35 * Revert the FTFont::Advance() and FTGlyph::Advance() improvements. After discussion, I was convinced they were not worth the backwards compatibility breakage. They now return float again, instead of FTPoint.
sammy b173cbee 2008-06-03T12:24:37 * Fix a crash in FTExtrudeGlyph caused by uninitialised members.
sammy 95183df2 2008-05-23T00:16:54 * Start protecting FTBuffer members using getters and setters.
sammy d1bea035 2008-05-22T15:31:07 * Fix a visual bug in FTBufferFont caused by overlapping glyphs.
sammy 865b9043 2008-05-22T12:39:12 * Fix an off-by-one error in FTBufferGlyph::Render.
sammy ca7c7a81 2008-05-20T23:49:25 * First try at the FTBufferFont/FTBufferGlyph implementation.
sammy 8932eba0 2008-05-20T23:48:56 * Rename FTTextureGlyphImpl::pos to FTTextureGlyphImpl::corner because pos was misleading.
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.
sammy 612c3756 2008-05-11T21:43:57 * Simplify the C bindings. 70 lines gained.
sammy 5f23d804 2008-05-11T11:28:38 * Honour the pen's Z coordinate when rendering glyphs (except the raster ones, where the Z coordinate makes no sense).
sammy 68738f93 2008-05-09T10:02:46 * Put a few wrapper functions into extern "C++" braces because they return references to C++ objects.
sammy e9260bbf 2008-05-08T22:35:57 * Implement C bindings for FTGlyph and FTFont subclassing. * Add subclassing to the simple C demo to show how to do similar stuff as in the C++ demo.
sammy 4f44ec81 2008-05-07T15:01:47 * Make all BBox functions return an FTBBox object instead of doing countless conversions to floats or arrays of floats.
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 c33efa0d 2008-05-02T12:45:21 * Use a smaller logo on the User Guide's front page.
sammy 7f2bb3f1 2008-05-02T12:43:57 * Document the C bindings for FTGlyph.
sammy d30f9095 2008-05-02T12:43:22 * Fix a potential memory leak in the FTGlyph C bindings error handler.
sammy 66e53f95 2008-05-02T07:21:57 * Fix a memory leak in ~FTExtrudeGlyph: only one of the three display lists was being freed.
sammy dfa07fc3 2008-05-02T07:20:51 * Fix a small memory leak in the C bindings destructors.
sammy 129a4733 2008-05-01T13:42:49 * Store FTPoints in the BBox object instead of floats. This was a todo from Henry.
sammy f0705dc2 2008-05-01T10:54:28 * Inline most FTPoint methods and operators. This will probably make the code smaller instead of bigger, because most of what they do will be optimised out by the compiler. * Get rid of the weird GetNormal() method and reimplement it using the ^ operator (vector product) and Normalise() method instead.
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.
sammy 2aa2aeb5 2008-04-30T16:27:34 * Move include/* to src/FTGL/* so the files in there can directly be referred to as "FTGL/*.h". This is convenient because they will be installed in a similar location. * Put a warning in each legacy public header to advise users to only include the generic <FTGL/ftgl.h> header instead.
sammy 0c84f1f3 2008-04-29T22:59:41 * Wrote C bindings for the FTGlyph class.
sammy 7f4fcafa 2008-04-29T21:35:16 * End of the pImpl refactoring task started in [972]. FTGlyph was the last class needing the change. As a consequence, FTGlyph is now also exported in the library API, and so are FTBBox and FTPoint.
sammy 387dec48 2008-04-29T17:11:57 * Move FTGlyph, FTFont and FTLayout classes and their derivatives into separate subdirectories of src/ to avoid cluttering src/ with too many files. The Visual Studio solution still needs an update.