src/FTGL


Log

Author Commit Date CI Message
sammy 989d224e 2009-07-19T15:56:38 Document FTFont::renderMode usage, courtesy of Christopher Sean Morrison.
sammy cab1fafd 2009-07-19T13:05:50 Update my e-mail address everywhere.
sammy 92d175e8 2009-01-02T15:51:25 Implement ftglCreateBitmapFontFromMem() and siblings so that the font-loading can be done from memory in C (and in languages binding with FTGL through the C interface such as C#).
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 291c70ed 2008-06-09T11:47:14 * Add "const" qualifier to FTPoint's scalar multiplication operator.
sammy a132a5e4 2008-06-09T11:45:52 * Document and reorganise FTBuffer. It is now clean enough.
sammy d7c9fc14 2008-06-09T10:13:09 * Document missing function parameters.
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 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 95183df2 2008-05-23T00:16:54 * Start protecting FTBuffer members using getters and setters.
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.
sammy b70df3d7 2008-05-11T21:43:35 * Get rid of FTSimpleLayout::RenderSpace(). It's still useful in FTSimpleLayoutImpl, but as a public method FTFont::Render() is just as powerful.
sammy 55dc91e0 2008-05-11T21:43:10 * Added optional position and string length to the Layout methods.
sammy a90225b5 2008-05-11T11:29:39 * Get rid of all methods in FTLayoutImpl that were accessing FTFontImpl internals, since FTFont now has all the proper public methods for that.
sammy 47e20607 2008-05-11T11:28:53 * Re-add FTFont::BBox() implementations with the old prototype, in case old projects use them.
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.
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 2ecbe452 2008-05-08T17:05:26 * Add scalar product to the FTPoint operators.
sammy 92b95cde 2008-05-08T17:01:45 * Made most FTFont, FTGlyph and FTLayout function virtual. It's true that most of them use private members of the pImpl class and thus are not easily replaced, but intercepting the information may be useful in subclassing, too.
sammy 45c2269f 2008-05-07T16:10:28 * Some code cleanup here and there, mostly in FTGlyphContainer.
sammy 1deacbc3 2008-05-07T15:07:38 * Documentation updates.
sammy 48b68f55 2008-05-07T15:06:19 * Replace FTBBox::Move() with the += operator, to make it clearer that the object is modified in the process.
sammy 8863eeeb 2008-05-07T15:03:48 * Change the += operator for bounding boxes to |=, which better represents what is happening, and avoids future confusion with "FTBBox + FTPoint" constructs.
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.
sammy f58ddca2 2008-05-07T14:59:03 * Fix FTBBox::SetDepth() behaviour with negative depth values (as done in the FTExtrudeGlyph class).
sammy 3823a30a 2008-05-07T14:56:57 * Add an overload of FTFont::BBox that returns an FTBBox object. It will save us a lot of code later.
sammy 10cdd9a4 2008-05-07T14:55:41 * Allow to create an FTBBox using two FTPoint objects. * Allow the operands to FTPoint's "+" and "-" operators to be const.
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 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.
sammy 89585b8a 2008-05-04T19:38:41 * Put my name and Sean's in the public headers so that people know who to contact.
brlcad 02817b9c 2008-05-04T06:23:04 quell compilation warnings about the last enum having a comma
sammy 9b3a3a8a 2008-05-02T13:18:09 * Started documenting the FTLayout C bindings.
sammy 7f2bb3f1 2008-05-02T12:43:57 * Document the C bindings for FTGlyph.
sammy 92238082 2008-05-02T09:15:38 * Change a few function names in the FTFont C bindings to avoid confusion with other classes. * Document the C bindings. Since it's almost copypasta from the C++ documentation, I put the constructors back in their original files.
sammy d9cdef45 2008-05-02T09:13:14 * Add RENDER_ALL to the enum used in Font::Render() so that client applications need not worry about future extensions.
sammy 80e809f1 2008-05-02T07:21:09 * Fix brown-paper-bag bug in the vector product computation: the indices were completely messed up. Thanks to valgrind for spotting it for me.
sammy e8c876bc 2008-05-01T19:31:06 * Make our base classes' destructors public. We want to prevent accidental instantiation, but direct destruction is perfectly legal.
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 9fa3bb52 2008-05-01T10:04:14 * Moved C constructor bindings to FTFont.h and FTLayout.h so that they appear in the same file in the generated documentation. * Various minor documentation updates.
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.