src


Log

Author Commit Date CI Message
sammy d92dc2db 2008-04-25T10:00:07 * Turn off the color buffer bit in the TextureFont renderer to increase performance. Patch by Ton Roosendaal, from Blender commit r5362.
sammy 0608bbfe 2008-04-25T09:59:48 * Synchronise FTCharmap::GlyphListIndex and FTCharmap::FontIndex prototypes declarations with their definitions. Patch by Vladimir Marek, taken from Blender commit r8915.
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 d0651fb6 2008-04-25T09:59:11 * Fix random bugs introduced in [941] and [943].
sammy 170cddfc 2008-04-24T13:20:17 * Updated Visual Studio build, by Eric Beets. We decided to switch the solution file to Visual Studio 2005 because no one was able to get an older version. Sorry.
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 52e30602 2008-04-23T09:49:07 * In outline mode, do not render the original outline if an outset value was specified: only render the modified one. Patch by Eric Beets.
sammy 9ae936f3 2008-04-22T23:47:24 * C bindings for the FTLayout interface. Code by Eric Beets.
sammy 15d3cad5 2008-04-22T17:06:49 * Fix FTTextureGlyph rendering offset so that it works with layouts.
sammy bf878876 2008-04-22T16:21:37 * Fix displaylist usage in FTExtrdGlyph. Closes SourceForge ticket #1945392.
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 cb8ae5d9 2008-04-22T16:18:07 * Fix displaylist usage in FTOutlineGlyph and FTPolyGlyph. FTExtrdGlyph still needs to be fixed, but that will be after pending Render() changes. Partially addresses SourceForge ticket #1945392.
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 f300fc49 2008-04-21T16:09:46 * Fix the FTLayout rendering: line feeds were not properly handled. Patch by Eric Beets.
sammy 9f770d58 2008-04-17T13:38:28 * Use pen += FTPoint(a, 0) constructs instead of pen.X(pen.X() + a), it's more object-oriented.
sammy 6bac248f 2008-04-17T13:36:05 * Fix a bug in FTFont::DoRender() introduced by my FTSimpleLayout merge that was causing excessive spacing between characters.
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 dedd7ce5 2008-04-14T13:22:21 * Made the FTSimpleLayout coding style consistent with the rest of the code.
sammy 87609beb 2008-04-13T22:13:44 * Added copyright and license information to recently merged 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 ddaf5e9c 2008-04-13T09:50:49 * Fix a crash in the glyph extrusion code when a contour has zero points.
sammy 94fe5f4d 2008-04-13T09:37:13 * Fix minor typo (polyon -> polygon).
sammy d5ec524b 2008-04-13T09:34:19 * Fix a coordinate bug in the extrusion texture mapping.
sammy 46de81b1 2008-04-13T09:28:40 * Minor refactoring in FTExtrdGlyph.cpp.
sammy eb169fd2 2008-04-13T09:06:38 * Fix a crash in FTContour::FTContour caused by invalid or unknown tags.
sammy 71eb8253 2008-04-13T07:48:50 * Refactoring FTContour.
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 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 9f978b91 2008-04-04T12:21:46 * Big build system overhaul. Autotools-generated files are no longer stored in SVN, the bootstrap script is more tolerant with odd installations, all makefiles are a lot shorter.
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 06d1b145 2005-01-03T09:09:35 Reset the error when setting the charmap
henry 5760ea26 2004-12-12T10:01:50 Changed behaviour so that if an errror occurs the object isn't modified. (strong guarantee).
henry aef4bd2c 2004-12-10T09:51:56 const correctness
henry 35a714a4 2004-12-10T09:51:45 Added include for assert
henry d60f1a16 2004-12-06T22:42:28 const correctness.
henry 629df4cc 2004-12-06T22:41:36 Minor code format change
henry 3902538a 2004-12-06T10:34:50 Changed the way the colour is specified. It can now be done per string rather than at start up as previous.
henry 4b213aab 2004-12-05T09:29:05 const correctness
henry a2985cbf 2004-10-18T21:41:36 Removed depth member var. Fixed a problem with normal generation.
henry 55888982 2004-10-17T00:40:24 Changed advance to be an FTPoint rather than a float.
henry 231a1d7e 2004-10-12T01:06:11 Got rid of the DoRender function.
henry d734048e 2004-10-11T09:45:18 Changed pos assignment
henry 1f69e6a0 2004-10-11T02:58:52 Added operator + & * to FTPoint
henry 8c207cad 2004-10-11T01:58:43 Renamed variable
henry 6fa0cf8b 2004-10-11T01:56:29 Removed a redundant var
henry 775724e4 2004-10-11T01:55:52 Fixed a casting problem
henry 4c6baa27 2004-10-10T22:50:01 Refactoring FTPoint
henry b2bd1ab8 2004-10-10T11:14:58 Refactoring FTPoint
henry 4c9a32b2 2004-10-10T10:45:37 Added cast to double operator
henry 3d3a4852 2004-10-08T11:37:28 Changed a couple of variable names.
henry b39871f5 2004-10-07T02:11:01 Fixed some floats
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 8bdfef74 2004-10-03T22:50:30 Adding support for turning off display lists in FTGL
henry 24d213a7 2004-10-03T22:34:10 Only set the err in CheckGlyph if it hasn't been set by some other part of the process.
henry 4c9a4594 2004-10-03T21:59:38 Doh
henry 80fc3da9 2004-10-03T21:11:09 CheckGlyph sets error flag
henry ef3a8c03 2004-09-30T08:15:43 Code to turn off display lists.
henry 6be07103 2004-09-30T00:08:05 Change to BBox to stop it exiting completely on a NULL glyph.
henry f3ae2a91 2004-09-29T23:55:24 Fixed infinite loop.
henry ce37d790 2004-09-29T23:06:42 Added a test to bail early of the client sets the size to the existing size. Removed the pixels per em function because no one is using them.
henry 92b93758 2004-09-28T11:49:23 Changed CheckGlyph function to indicate failure to create a glyph.
henry 4de174c4 2004-09-28T04:50:35 Fixed a bug where resizing FTGLTextureFont caused a GL error
henry c0ac7ac6 2004-09-26T09:47:40 Finalised texture coordinate generation code. Tidied some code.
henry 58e35d9e 2004-09-26T09:46:57 Removed activeTextureID from initialisation list.
henry 9c4d8012 2004-09-26T09:45:18 Added an assert for a 0 maximum texture size. This is tripping some people up.
henry f8833591 2004-09-18T11:24:02 Added texture co-ordinate generation.
henry 0dce598f 2004-08-23T08:05:04 Added LineHeight function.
henry c71c5e14 2004-08-23T08:03:27 Remove a superfluous semi-colon.
henry ce828a7d 2004-08-23T07:18:23 Got rid fo the GL_TEXTURE_2D_BINDING_EXT call in FTTextureGlyph and replaced it with a static member.
henry 2a980faa 2004-08-22T05:50:33 Removed unnecessary translates in the glyph rendering code.
henry d3199cbc 2004-08-19T05:43:24 FaceSize now sets the error value.
henry 40b3fa94 2004-05-10T09:11:30 First add for buffer font stuff
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 6355a5d0 2004-05-09T07:09:41 Renamed functions for clarity
henry 432d6517 2004-05-04T10:38:25 Added __CYGWIN__
henry e2239437 2004-01-22T08:11:48 Changed FTGLTextureFont to use FTVector for texture id list.
henry 05a71812 2003-10-20T02:48:57 Moved charmap list from FTCharmap to FTFont
henry 74b28088 2003-10-19T21:38:42 Moved charmap list function out of FTCharmap into FTFont
henry 0418c75c 2003-10-19T02:40:00 Can now get the list of supported charmaps for the font.
henry 4a42ba2e 2003-10-11T03:41:25 FTCharToGlyphIndexMap::find no longer returns a pointer
henry 7a7ede0f 2003-10-08T21:00:41 Delete charmap in destructor.
henry cca1059d 2003-09-29T20:59:51 Added SetDepth function to FTBBox
henry 59a0780e 2003-09-25T03:55:19 Changed to use FTGlyphSlot internally instead of FTGlyph
henry 84d14a79 2003-09-24T22:05:12 Removed old comments
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 b81d85bc 2003-09-21T01:42:00 Small change for VC.net
henry dc4d1fa2 2003-07-23T09:06:51 Remove Font Table function.
henry 0998d99d 2003-07-23T09:06:07 Fixed precision conversion
henry e674078e 2003-07-21T09:46:25 Merged FTGL_2_0_4
henry b5c018d9 2003-07-18T10:13:27 Minor change
henry 72f6b923 2003-07-16T10:17:36 Made a constant a float
henry 3ea4d8fb 2003-07-12T12:06:05 Re-ordereds function for inlining