include/FTFont.h


Log

Author Commit Date CI Message
sammy fa063816 2008-04-29T20:42:15 * Simplified FTFont's constructor. Since the class is kind of abstract, there is no need to export the constructor interface: only derived classes need to advertise how they are instantiated.
sammy ff3228e6 2008-04-29T16:47:26 * More cleanup following the private pointer refactoring: + Removed private type enums from the public ftgl.h header. + Protected all private implementation ctors and dtors. + Prevent accidental initialisation of the base classes by protecting their constructors. Derived classes can still be properly instantiated.
sammy b81733e4 2008-04-29T15:44:42 * Clean up the C bindings by splitting FTGlue.cpp into FTLayoutGlue.cpp, FTGlyphGlue.cpp (unused yet) and FTFontGlue.cpp. C methods previously scattered all around are now located in one of these 3 files. * Hide extern "C" and namespace C constructs in a single FTGL_BEGIN_C_DECLS macro. * Use namespace FTGL all around instead of a mix of C and FTGL namespaces.
sammy 1f4a94f8 2008-04-29T14:39:28 * Since the MIT license is LGPL-compatible, there is no real point in shipping FTGL under a dual license. Consequently removing LGPL references from the code, in agreement with Sean.
sammy c96146ed 2008-04-29T06:44:51 * Moved header files that are not required by library clients into src/ so that they do not get installed. * Created an ftgl.h header that allows clients to #include <FTGL/ftgl.h> and be done with it.
sammy 9caaa891 2008-04-28T21:48:44 * Split Font and Layout headers into Foo.h and FooImpl.h, and taking the latter out of the include/ directory.
sammy 573770b5 2008-04-28T21:12:36 * Beginning of a new refactoring task. Classes inheriting FTFont or FTLayout now hide their private members behind a pImpl pointer. This will make the public headers smaller, and we will not break the ABI by changing private members of our public classes. This first step just splits classes but does not reorganise files.
sammy da303bb8 2008-04-28T15:24:05 * Remove all method implementations from the main FTFont.h, FTLayout.h and FTGlyph.h headers. Since they use private members, they belong to their respective .cpp files.
sammy 09fbf8ac 2008-04-28T11:17:05 * Cosmetic: remove trailing spaces, fix unbalanced parenthesis/space constructs, remove tab/space mixes, wrap a lot of long source lines.
sammy 06dd5949 2008-04-25T10:01:29 * Implement Render() for all Font types. Patch by Eric Beets.
sammy ef85a014 2008-04-22T16:21:04 * Allow to selectively display parts of the glyph/font/layout. This is currently only used in FTExtrdGlyph: it lets the user render the front surface in a different color than the extruded side surface. Code written by Eric Beets.
sammy 7e74380f 2008-04-21T21:48:03 * Inset/outset contour support for fonts, by Eric Beets. For now, only contours with exactly the same number of points are generated.
sammy 2cf6ff94 2008-04-16T15:57:01 * Remove a lot of code duplication caused by the char/wchar_t overloading thanks to templates. No API change here.
sammy 55d3f835 2008-04-15T09:53:27 * Added ftglDestroyFont() destructor for the C bindings. * Remove useless "#ifdef __cplusplus" constructs from .cpp files.
sammy d6a2d851 2008-04-13T21:14:44 * Merged trunk commits [664], [665], [666], [667], [669], [670], [671], [672] and [684], by patrick and henry: + Added FTLayout.h, FTSimpleLayout.h and FTSimpleLayout.cpp to implement a framework for layout managers and an implementation of a simple layout manager. + Updated FTGLDemo to use the new FTSimpleLayout. Changes include: - Added a font origin to specify the location to render the font. - The default text is now blatantly plagarized from the back cover of the OGL red book. - The font size is much smaller. - Font metrics are rendered differently depending on the current layout manager. - The FTSimpleLayout alignment mode is now output with other font information. - The space bar no longer cycles through the fonts. The cursor up/down keys do. - The cursor left/right keys increment/decrement the size of the current font. - The page up/page down keys cycle through the layout managers. - The home/end keys increment and decrement the line length of a simple layout - The tab key cycles through the alignment modes of a simple layout. + Fixed a bug where the trackball rotation was applied after translation. + Minor reformatting and enabled texture fonts to be selected + Un-inlined private methods...because they are called by other private inlined methods + Minor formatting changes + Adding FTLayout
sammy a6f07b94 2008-04-13T19:37:25 * Merged trunk commits [662] and [663], by patrick: + Added the FTBBox::Invalidate and FTBBox::IsValid methods. + Changed the FTFont::BBox to accept a range of indicies. Only characters with the range are checked. The previous funcitonality is preserved via inline methods that call the new implementation. + Kluged a fix for a bug where FTFont::BBox was returning bounding volumes where min > max. I don't know where the problem is originating, I just force the bounds to be correct. + Changed the FTFont::DoRender methods to accept an external FTPoint for the pen position. This enables FTLayout classes to use their own pen for rendering. + Added the FTLayout class as a friend of FTFont to allow layout managers to call private rendering functions and access private font information.
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 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 231a1d7e 2004-10-12T01:06:11 Got rid of the DoRender function.
henry 3d3a4852 2004-10-08T11:37:28 Changed a couple of variable names.
henry f4ffb37e 2004-10-05T04:49:09 nothing
henry f4e9d7a3 2004-10-03T21:10:47 Update comments
henry 0dce598f 2004-08-23T08:05:04 Added LineHeight function.
henry 13c2c054 2004-08-16T06:22:47 Updated FTFont( *pBufferBytes, bufferSizeInBytes) documentation.
henry 9b56d729 2004-04-09T05:22:32 Added comments for new functions
henry bc7fea71 2003-10-19T21:16:41 Moved charmap list function out of FTCharmap into FTFont
henry e674078e 2003-07-21T09:46:25 Merged FTGL_2_0_4
henry b1598ed1 2003-07-12T12:06:22 Removed inline directive
henry f29956a1 2003-04-13T02:09:47 Fixed FTGLTextureFont resize bug
henry 38ead5fd 2003-04-06T23:48:36 Un-inlined private methods...because they are called by other private inlined methods
patrick 90e3be9c 2003-04-06T19:16:39 - Changed the FTFont::BBox to accept a range of indicies. Only characters with the range are checked. The previous funcitonality is preserved via inline methods that call the new implementation. - Kluged a fix for a bug where FTFont::BBox was returning bounding volumes where min > max. I don't know where the problem is originating, I just force the bounds to be correct. - Changed the FTFong::DoRener methods to accept an external FTPoint for the pen position. This enables FTLayout classes to use their own pen for rendering. - Added the FTLayout class as a friend of FTFont to allow layout managers to call private rendering functions and access private font information.
henry a9589733 2003-01-08T23:13:27 Updated doc
henry 171ab6cb 2003-01-08T23:10:48 Updated doc
henry a2dde19d 2003-01-08T22:47:55 Updated doc
henry 70869a5d 2003-01-08T04:24:36 Added attach from memory function
henry 68f91fa8 2002-12-21T05:08:12 Removed DoAdvance function
henry 7033612a 2002-12-20T22:17:06 Removed maekGlyphList function and changes for FTFace
henry a1fe61f2 2002-12-19T10:27:50 Refactored function names
henry 92bc1caf 2002-12-17T04:42:33 Renamed render to Render
henry 66f17834 2002-12-16T08:53:10 Updated the docs
henry 59259511 2002-12-16T08:27:39 Refactored FTFont to get rid of Open function
henry 8e8eb8da 2002-12-12T21:47:14 Added CheckGlyph function
henry 13b74f08 2002-12-12T20:46:33 Pushed down numGlyph field
henry 618c11ff 2002-12-10T08:38:55 Changed size calculations to use floats
henry 843eec4f 2002-12-04T07:03:24 Fixed documentation
henry 43b2052b 2002-12-04T06:58:51 Fixed documentation
henry 544a174e 2002-12-04T06:19:57 Error handling in Attach
henry 09dc868f 2002-12-02T06:27:02 Fixed BBox null string bug. Better error handling. Got rid of pre cache flag.
henry 26512166 2002-11-29T08:13:55 Got rid of Close() and improved som error handling
henry 6ba350fc 2002-11-28T09:43:29 Got rid of inline for irix
henry c941c73b 2002-11-28T08:21:43 Documentation Changes
henry c060dacd 2002-11-27T07:39:45 Changes for FTPoint & FTBBox
henry ba82a01b 2002-11-27T06:20:15 Tidied up some float declarations
henry fdccc4bf 2002-08-27T07:12:49 Updated dox comments
henry 41dae8dd 2002-07-04T01:03:52 Added a comment about impicit conversions
henry 8fd8b009 2002-07-01T09:44:57 Inlined private functions
henry 634f2397 2002-06-22T23:33:44 Added accessors for point size
henry 9013e3ec 2002-06-20T08:22:06 Changes for VTK Removed tabs Removed mmgr Optimisations for loading pixel based fonts Minor changes
henry 3413b9a1 2002-06-12T08:56:42 Merged FTGL_1_3_2
henry 5b379896 2002-02-06T02:40:51 inlined the ascender and descender functions
henry ba45ad6b 2002-01-25T22:48:45 More comments
henry ac5532fe 2002-01-09T20:35:52 FTBbox now uses floats rather then ints
henry 6829d29a 2001-12-11T03:56:17 rejigged the advance and render functions to make them sleaner...not really
henry e968a7e0 2001-11-13T05:45:10 Added an empty virtual depth function
henry 6c7815f2 2001-11-12T04:14:39 Made MakeGlyphList() virtual again
henry b2b7f0b5 2001-11-12T02:33:04 Added bounding box function un-virtualised some functions fixed comments
henry 29f37277 2001-11-04T04:55:43 Unix line endings
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 82ec4afe 2001-10-29T20:09:59 Minor changes to fix some implicit type conversions
henry 2e64c85c 2001-10-25T04:01:59 Made numGlyphs unsigned
henry 90dbbac7 2001-10-14T21:52:24 Updated comments
henry 9f60f535 2001-10-10T21:59:02 Added FTGL_EXPORT to class declarations for the windows port
henry 7ffb9dc6 2001-09-20T00:22:39 Removed redundant code. Added comments for Advancs()
henry d74f95ce 2001-09-19T04:54:59 Added functions to calc the advance width of a string
henry d70420a4 2001-09-16T21:28:46 Updated comments and added a unicode render function
henry 72a95b2e 2001-09-14T00:38:04 Added more comments
henry eba2ba50 2001-08-28T01:12:34 Fixed comments
henry 983f9c3e 2001-08-27T23:01:29 Updated comments
henry c5c734f9 2001-08-24T02:18:59 Added JavaDoc comments
henry e62d68b3 2001-08-20T22:51:21 Started being more strict with types eg integer indices and sizes are now unsigned.
henry 6acb6ea5 2001-08-19T22:32:57 Updated to reflect changes in FTFace & FTGlyphContainer
henry de2532f4 2001-08-08T01:33:03 Changes to the way charmaps are handled
henry 06d66c75 2001-08-07T21:28:07 Minor tidy ups. Tidied up the error stuff
henry 53040dd2 2001-08-05T21:39:02 Minor tidy ups and fixed a couple of compiler warnings
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 563aab11 2001-07-27T04:28:40 Made all methods virtual
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.