src/FTVectoriser.cpp


Log

Author Commit Date CI Message
sammy 4ed52c55 2008-05-06T10:00:48 * Fix an unsigned int / size_t mismatch in FTVectoriser.
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 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 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 d72e669b 2008-04-25T09:59:35 * OS X Leopard build fix. Starting from this version, GLUTesselatorFunction has a standard prototype again. Patch by Kent Mein, taken from Blender commit r11864.
sammy 75c73099 2008-04-23T21:23:59 * Fix most compilation warnings. Most frequent causes: shadow declarations and const qualifier disappearances.
sammy 92094112 2008-04-23T15:56:47 * Only build outset contours when really needed. This spares quite a few operations and removes now useless parameters from several methods. Patch by Eric Beets, reworked by me.
sammy a5781ca3 2008-04-23T09:50:17 * Assume unknown operating systems share the GLUTesselatorFunction prototype with other standard Linux/Unix systems. It's a pretty safe bet and spares us from patching the code each time a new system such as GNU/kFreeBSD appears.
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 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.
henry aef4bd2c 2004-12-10T09:51:56 const correctness
henry d60f1a16 2004-12-06T22:42:28 const correctness.
henry 775724e4 2004-10-11T01:55:52 Fixed a casting problem
henry 4c6baa27 2004-10-10T22:50:01 Refactoring FTPoint
henry c71c5e14 2004-08-23T08:03:27 Remove a superfluous semi-colon.
henry 432d6517 2004-05-04T10:38:25 Added __CYGWIN__
henry 59a0780e 2003-09-25T03:55:19 Changed to use FTGlyphSlot internally instead of FTGlyph
henry b5c018d9 2003-07-18T10:13:27 Minor change
henry 7a6a03d0 2003-06-03T02:51:58 Added extra defines for GLUTesselatorFunction
henry d7cd7612 2003-04-02T23:47:27 Fixed memory leaks
henry 2e5ee543 2003-01-16T00:23:30 Removed redundant () in preprocess
marcelo eda18707 2003-01-14T16:08:38 The parser in the IRIX C++ compiler has a bug and the result of: new (Type*)[size] is of type "Type*" instead of "Type**". Work arround it by typedef'ing TypeP which is just Type*.
henry 74b58812 2002-12-20T22:21:21 Added Mesh::Combine and changed tempPointList to FTList
henry e7bffe5d 2002-12-19T10:27:16 Made return values const
henry 1fc9d488 2002-12-17T03:53:37 Refactored to get rid of data memory buffers and function name tidy ups
henry 942a5d6f 2002-12-16T23:24:22 Made ProcessContours Private and removed GetOutline
henry d42ccb1d 2002-12-16T20:12:37 Changes in FTContour
henry c7c795c5 2002-12-11T07:41:03 Replaced contourList FTVector with an array.
henry 028acb18 2002-12-10T09:01:13 Minor fix
henry 64f24583 2002-12-08T09:39:31 WIN32 function pointer typedef
henry e4142e5a 2002-12-08T08:56:59 Fixes for broken glyphs. Uses numberOfContours as a flag that the glyph is valid.
henry 0224994d 2002-12-08T05:07:52 Removed redundant member
henry 690d4883 2002-12-08T04:40:19 Refactored FTContour - moved it into it's own file
henry 351a7101 2002-12-05T10:23:10 Minor fix up
henry 1f30031f 2002-12-05T09:33:28 Refactored variables in Process() Changed Process to void Test in FTVectoriser c_stor
henry 5d5faa48 2002-12-05T06:46:33 Refactored variable names
henry 220dbc49 2002-12-05T06:11:35 Refactored variable names Removed Point() Added docs
henry a777a90b 2002-12-04T06:21:02 typedef for mips and linux
henry cce53af5 2002-11-28T09:39:36 Changed the gluTess callback function definitions
henry 390f4520 2002-11-27T07:12:59 Moved FTPoint to it's own file
henry ba82a01b 2002-11-27T06:20:15 Tidied up some float declarations
henry 9013e3ec 2002-06-20T08:22:06 Changes for VTK Removed tabs Removed mmgr Optimisations for loading pixel based fonts Minor changes
henry 681596b9 2002-01-24T09:42:21 Fixed compiler warnings (size_t)
henry c8dc02da 2001-12-11T03:55:08 Replaced double with FTGL_DOUBLE typedef
henry 86b5c356 2001-11-12T02:44:18 gluTesselation now feeds data to internal FTMesh class
henry a00a92ec 2001-11-08T20:36:26 Minor fixes for windows warnings
henry 7d8a9eab 2001-11-05T22:32:05 Refactoring FTVectoriser & FTPolyGlyph to anable access to tessellation data
henry e077739b 2001-10-30T23:23:29 Renamed functions in prep for extruded glyphs Ingest->Process Output->MakeOutline
henry 263722f7 2001-10-25T04:03:06 Re-ordered initialisation lists to keep project builder happy (MAC OSX)
henry 6141f71d 2001-09-27T01:40:39 Added a test for an empty point list when adding points to a contour.
henry af2bc912 2001-09-16T21:31:38 Minor tidy ups
henry 6299b3f3 2001-08-28T22:53:37 Fixed a bug in FTVectoriser::Ingest() that caused non printing glyphs ( eg spaces) to be ignored
henry a9f836b2 2001-08-28T01:47:44 Removed redundant static_cast<float>()
henry fefbdf74 2001-08-27T00:57:42 Changed the args for FTContour::AddPoint() to float to get rid of warning. Also make more sense.
henry 295f2c0f 2001-08-24T02:06:51 Made some magic numbers into constants
henry a1ed83ae 2001-08-05T22:28:29 const rampage:) added next2 to curve code
henry ec4a06b7 2001-08-02T21:52:58 Made the ftPoint struct an external class and added some helper functions eg operator != Got rid of ftLoop, it's not needed now that I've tidied up the curve parsing code (which fixed the Vivaldi Q bug) Minor code tidy ups.
henry bb798851 2001-08-01T22:56:04 Made the FTPOINT type a struct of 3 floats rather than a PAIR<int, int> to make it compatible with gluTess. Made bValues[][] a private member rather than local to evaluateCurve()
henry 0c395027 2001-08-01T05:27:22 Spilt the FTVectoriser & FTContour stuff out of FTVectorGlyph. Made some minor changes to the curve code.