src/FTFace.cpp


Log

Author Commit Date CI Message
Frank Heckenbach c261e7bd 2019-02-07T22:03:32 implement LegacyOpenGLState, see README-LegacyOpenGLState
sammy 84fdd792 2009-07-19T16:09:40 Correct the order in which FT_Done_Face is called via the library's destructors. Fixes a Bzflag crash upon exit. Patch courtesy of Mathew Eis (kingrobot) from SF patch 2721799.
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.
jwmelto 2766703a 2008-09-08T03:16:59 Eliminate some double->float conversions for performance
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 45c2269f 2008-05-07T16:10:28 * Some code cleanup here and there, mostly in FTGlyphContainer.
sammy 15012d0f 2008-05-06T07:08:55 * Fix indentation by replacing a few tabs with spaces.
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 54e3e0a6 2008-05-01T18:46:22 * Proper FTFace member initialisation to prevent destructor-time crashes.
sammy fbcf2a88 2008-05-01T18:33:44 * Optimise FTFace::KernAdvance() so that kerning for font indices < 128 is precomputed during FTFace() instantiation to avoid calling FT_Get_Kerning() too often. Patch by Sean Morrison, taken from bzflag commit r14652, reworked for safety and performance by me.
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 75c73099 2008-04-23T21:23:59 * Fix most compilation warnings. Most frequent causes: shadow declarations and const qualifier disappearances.
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 3d3a4852 2004-10-08T11:37:28 Changed a couple of variable names.
henry 05317481 2004-10-05T04:48:14 Added hasKerningTable member so we don't query the font every glyph. Got rid of the redundant Close() and unused UnitsPerEM()
henry 74b28088 2003-10-19T21:38:42 Moved charmap list function out of FTCharmap into FTFont
henry 59a0780e 2003-09-25T03:55:19 Changed to use FTGlyphSlot internally instead of FTGlyph
henry 8fd2ff3e 2003-09-22T02:11:42 Fixes for deprecated identifiers in 2.1.5
henry 13cb8006 2003-09-21T22:36:29 Fixed FT_OPEN_MEMORY for 2.1.5
henry dc4d1fa2 2003-07-23T09:06:51 Remove Font Table function.
henry e674078e 2003-07-21T09:46:25 Merged FTGL_2_0_4
henry 72f6b923 2003-07-16T10:17:36 Made a constant a float
henry 697159de 2003-06-08T01:02:15 Minor format change
henry f3f1bf40 2003-06-03T02:50:08 Removed FTCharmap member and associated methods
henry f29956a1 2003-04-13T02:09:47 Fixed FTGLTextureFont resize bug
henry 2c1645a5 2003-01-10T03:25:53 Trying to add table support
henry 9a6997a2 2003-01-10T01:47:05 Added units per EM square
henry 6092ecb1 2003-01-09T02:56:50 Fixed warning and kerning
henry 70869a5d 2003-01-08T04:24:36 Added attach from memory function
henry abede8df 2002-12-21T05:18:40 Updated docs and removed numberOfCharmaps member
henry 86933a4b 2002-12-20T22:13:43 Removed Open functions. C_stors now open face
henry ad02c78f 2002-12-19T10:28:19 Made return value const
henry d604d3c2 2002-12-12T20:48:41 Added GlyphCount accessor to FTFace
henry 57ca18fb 2002-12-01T07:52:12 Better error handling
henry fb9adfb5 2002-11-29T08:21:02 Improved error handling
henry 73a5dca2 2002-11-28T09:41:20 Set default values for kernAdvance
henry b37ad01a 2002-11-27T07:38:52 Changes for FTPoint
henry 4ab2e7d8 2002-11-23T09:04:52 Added cast to FT_New_Memory_Face
henry 18a50d96 2002-06-22T23:34:09 Made charmap() const
henry 6998e56b 2002-06-21T08:22:00 Getting rid of magic numbers
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 3715b637 2001-12-10T21:30:58 Added include for mmgr
henry 263722f7 2001-10-25T04:03:06 Re-ordered initialisation lists to keep project builder happy (MAC OSX)
henry afa6cbb7 2001-09-30T23:00:23 Clean up the FTCharmap
henry 262b30a5 2001-09-17T20:59:34 Implemented FTCharmap class
henry 8a480963 2001-09-16T21:29:59 Added error code (err) to initialisation list
henry 76f1128a 2001-09-14T00:40:43 Changed the order in which things are cleaned up when this object is destroyed.
henry 241a40fc 2001-08-28T23:04:04 Moved the list of valid encoding symbols from the .cc to .h so it appears in the docs.
henry f8bb8b42 2001-08-27T21:32:38 Changed the return type of FTFace::Glyph() from a reference to a pointer so I can return NULL on failure.
henry 9a1fd558 2001-08-26T22:53:23 Fixed a bug in the kerning code. Dims are in 1/64 pixels.
henry b56a2159 2001-08-24T02:17:19 Added error checking in charSize(). Inserted some code comments to remind me how to set the encoding properly
henry 2e5ca9ad 2001-08-21T03:20:26 return type for CharIndex() made unsigned int
henry e62d68b3 2001-08-20T22:51:21 Started being more strict with types eg integer indices and sizes are now unsigned.
henry 23cb67ba 2001-08-20T22:36:44 Added Glyph function
henry 9aa9fe44 2001-08-19T22:31:25 Implemented charmap, CharIndex and kernAdvance functions. These are now wrappers for the freetype functions and the rest of FTGL should not call freetype directly.
henry 4c7e040b 2001-08-07T21:26:05 Tidied up the err stuff
henry a264b05c 2001-08-05T21:37:18 Added FT_Error member and accessor function. Minor tidy ups
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.