src/FTGlyphContainer.cpp


Log

Author Commit Date CI Message
Frank Heckenbach 8ee0d83b 2019-02-07T22:31:57 fix (if possible) or silence (otherwise) compiler warnings
sammy 4c82e100 2010-05-23T20:46:45 Fix improper bound checks in FTGlyphContainer.
brlcad f2803ba1 2010-05-12T16:26:38 pull in change from bzflag downstream, r20591 by brlcad, FTVector's [] will let you run beyond the vector (crash), so manually make sure our glyph index is within bounds.
sammy cab1fafd 2009-07-19T13:05:50 Update my e-mail address everywhere.
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 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 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 45c2269f 2008-05-07T16:10:28 * Some code cleanup here and there, mostly in FTGlyphContainer.
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 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 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 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 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 141112c4 2008-04-12T22:44:48 * Add licensing information to all files in the library.
sammy 7c358859 2008-04-04T12:43:38 * Generate a config.h file instead of passing all defines in the compiler command line. * "make install" now properly installs the includes, the documentation and the .pc file. * Generate a shared library.
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 55888982 2004-10-17T00:40:24 Changed advance to be an FTPoint rather than a float.
henry 4c6baa27 2004-10-10T22:50:01 Refactoring FTPoint
henry d5e0a0cd 2004-05-09T07:22:41 Changed signed to unsigned for glyph indices
henry d5f912b3 2004-05-09T07:13:48 Updated for changes in FTCharmap
henry 7a7ede0f 2003-10-08T21:00:41 Delete charmap in destructor.
henry 56289ce6 2003-06-08T01:09:17 Refactored FTGlyphContainer & FTCharmap. They now store FTGlyphs sequentially rather than by glyph index.
henry 5504970b 2003-06-03T03:08:31 Moved FTCharmap into this class
henry c0e1933d 2003-01-06T04:11:07 removed test in d_stor
henry 10ffeece 2002-12-21T07:11:08 Refactored variable names
henry 58b4a6b7 2002-12-21T07:10:03 Refactored variable names
henry 45d5264e 2002-12-20T22:19:52 Made Glyph() const
henry 92bc1caf 2002-12-17T04:42:33 Renamed render to Render
henry d604d3c2 2002-12-12T20:48:41 Added GlyphCount accessor to FTFace
henry 93a9d2ec 2002-12-04T08:20:18 Error checking in Add Un-virtualised some functions Minor tidy ups
henry 108eb7be 2002-12-02T06:28:41 Got rid of the pre cache flag
henry c4e1b0fd 2002-11-28T09:40:05 Got rid of the tabs
henry 0c672d91 2002-11-27T07:47:47 Changes for FTPoint
henry 20c6c152 2002-08-26T10:17:45 Removed mmgr
henry 3ef42b98 2002-08-26T08:57:04 Removed std::vector
henry 9013e3ec 2002-06-20T08:22:06 Changes for VTK Removed tabs Removed mmgr Optimisations for loading pixel based fonts Minor changes
henry 24a2f62f 2002-01-09T20:33:04 More const stuff Replaced the for loop with a resize to fill the vector with null
henry 3715b637 2001-12-10T21:30:58 Added include for mmgr
henry 82035b3b 2001-11-12T02:42:32 Added bounding box function
henry 7e2c7214 2001-11-05T20:59:35 Added a test for null pointers in the d_stor
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 d74f95ce 2001-09-19T04:54:59 Added functions to calc the advance width of a string
henry 6165034e 2001-09-16T21:50:28 Added error code (err) to initialisation list
henry 6a234ca3 2001-08-24T02:16:00 Minor changes to comments
henry e62d68b3 2001-08-20T22:51:21 Started being more strict with types eg integer indices and sizes are now unsigned.
henry 31fa83cb 2001-08-19T22:34:40 This now uses FTFace function rather than calling freetype directly...better encapsulation and may allow future caching.
henry de2532f4 2001-08-08T01:33:03 Changes to the way charmaps are handled
henry 0775ec8b 2001-08-07T21:28:45 Added a note about kerning modes
henry 74ddddc2 2001-08-05T21:41:09 Added FT_Error member. Minor tidy ups and fixed automatic variable warning in render()
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 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.