Log

Author Commit Date CI Message
brlcad 3a0adfb5 2008-05-04T04:50:12 credit self for the precomputed glyph and kerning tables that gave a nice performance boost to the font rendering (at a mild expense of 64k memory per font face)
brlcad 6fa971ad 2008-05-04T04:46:58 annotate that sam fixed many bugs related to memory corruption, leaks, and prevented/fixed more than a handful of bugs through inspection and valgrinding
brlcad acbb6a53 2008-05-04T04:35:41 print an informative summary
brlcad 2ebf9ff3 2008-05-04T04:31:07 have to add the default include dir path to the CPPFLAGS so we can find the headers
brlcad b14c5cd1 2008-05-04T04:29:59 GLUT framework needs the OpenGL framework, use the same Xlinker hack for libtool
brlcad 05e68e0b 2008-05-04T03:59:03 add an output summary
brlcad ccef49b6 2008-05-04T03:55:24 test with LIBS instead of LDFLAGS but don't persist since that's done later
brlcad d4047e1a 2008-05-04T03:13:43 fix the gl/glut tests so that they also work on mac os x where libraries are specified through frameworks instead of libs. libtool 1.5 and earlier are unfortunately have busted behavior with -no-undefined libraries as it strips off unrecognized options, hence the use of -Xlinker
brlcad b7c7e131 2008-05-04T02:58:40 refer to local/private headers with local path inclusion, otherwise the search include paths are wrong
brlcad 1b658504 2008-05-04T02:57:13 list the libs as libs instead of flags so they get passed through as dependencies in the libtool archive
brlcad f7d38361 2008-05-03T23:40:51 use AC_PATH_PROG instead of PKG_CHECK_MODULES to keep the versions to a minimum
brlcad ea4236d4 2008-05-03T17:21:25 have to quote the AC_MSG_ERROR else the exit code is screwed up
sammy 552366af 2008-05-02T14:52:54 * Add a virtual destructor to FTLayoutImpl to make sure derived classes have their destructors called. * Make all FTLayoutImpl members protected. Only its derived classes and FTLayout need to access them.
sammy 15f659bb 2008-05-02T13:28:37 * Fix inconsistencies in the documentation install paths.
sammy e0e8e479 2008-05-02T13:27:11 * Add an implicit cast to FTGL::TextAlignment in the FTLayout::SetAlignment C wrapper.
sammy 9b3a3a8a 2008-05-02T13:18:09 * Started documenting the FTLayout C bindings.
sammy 65c77f88 2008-05-02T13:17:45 * Generate PDF documentation if a proper LaTeX installation can be found.
sammy c33efa0d 2008-05-02T12:45:21 * Use a smaller logo on the User Guide's front page.
sammy 7f2bb3f1 2008-05-02T12:43:57 * Document the C bindings for FTGlyph.
sammy d30f9095 2008-05-02T12:43:22 * Fix a potential memory leak in the FTGlyph C bindings error handler.
sammy 025860bc 2008-05-02T09:58:24 * Converted the HTML documentation to Doxygen so that everything ends up in the same document. Plus, Doxygen's C++ pretty-printer is very nice for code examples.
sammy a4023af1 2008-05-02T09:17:22 * Fixes and enhancements to ftgl.pc: + Add -I${includedir}/FTGL to Cflags because we want to support legacy application that still #include <FTGLBitmapFont.h>. + Remove @GL_CFLAGS@ from Cflags because our public headers do not use GL headers. + Add freetype2 to Requires.private since it ships its own .pc file. Not using Requires because freetype2 is only really needed for statically linking. Getting rid of @FT2_CFLAGS@ and @FT2_LIBS@ at the same time.
sammy cd3d79bb 2008-05-02T09:16:51 * Activate macro expansion in Doxygen to hide useless macros such as FTGL_EXPORT in the documentation.
sammy 92238082 2008-05-02T09:15:38 * Change a few function names in the FTFont C bindings to avoid confusion with other classes. * Document the C bindings. Since it's almost copypasta from the C++ documentation, I put the constructors back in their original files.
sammy d9cdef45 2008-05-02T09:13:14 * Add RENDER_ALL to the enum used in Font::Render() so that client applications need not worry about future extensions.
sammy 66e53f95 2008-05-02T07:21:57 * Fix a memory leak in ~FTExtrudeGlyph: only one of the three display lists was being freed.
sammy 8d4c7414 2008-05-02T07:21:39 * Fix memory leaks in the font tests due to temporary variables not being deleted. * Add a few method calls to the C test program.
sammy 80e809f1 2008-05-02T07:21:09 * Fix brown-paper-bag bug in the vector product computation: the indices were completely messed up. Thanks to valgrind for spotting it for me.
sammy dfa07fc3 2008-05-02T07:20:51 * Fix a small memory leak in the C bindings destructors.
brlcad 9fac43d3 2008-05-02T04:17:14 remove the obsolete 10.3 project builder project for mac, it's now pretty far out of date and is without maintainer
brlcad b5d42ea1 2008-05-02T03:52:14 add a utf-8 coding line for emacs, attribute full name with e-mail
brlcad fb1f8e7b 2008-05-02T03:45:01 don't ignore COPYING now that there is one
sammy e8c876bc 2008-05-01T19:31:06 * Make our base classes' destructors public. We want to prevent accidental instantiation, but direct destruction is perfectly legal.
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 b9df86a4 2008-05-01T18:31:35 * Optimize FTCharmap::FontIndex() so that font indices < 128 are precomputed during FTCharmap() instantiation to avoid repeated tt_cmap4_char_index() calls. Performance patch by Sean Morrison, taken from bzflag commit r14644.
sammy 822d0f8f 2008-05-01T18:30:29 * Avoid crashing when the texture size is so small that its integer size becomes zero. At the same time, round many floats instead of simply flooring them to int. First part by Sean Morrison from bzflag commit r14590.
sammy 40644e3b 2008-05-01T14:19:34 * Patches by Sean Morrison, from BzFlag commits r15755 and r14843: + Only delete textures if there is at least one of them. + Ensure that the FTTextureFont data members get set for all cases. * Added Sean to the AUTHORS file.
sammy 129a4733 2008-05-01T13:42:49 * Store FTPoints in the BBox object instead of floats. This was a todo from Henry.
sammy 56516d41 2008-05-01T12:05:27 * Remade metrics.png using Inkscape.
sammy f0705dc2 2008-05-01T10:54:28 * Inline most FTPoint methods and operators. This will probably make the code smaller instead of bigger, because most of what they do will be optimised out by the compiler. * Get rid of the weird GetNormal() method and reimplement it using the ^ operator (vector product) and Normalise() method instead.
sammy 9fa3bb52 2008-05-01T10:04:14 * Moved C constructor bindings to FTFont.h and FTLayout.h so that they appear in the same file in the generated documentation. * Various minor documentation updates.
sammy ab4586ca 2008-05-01T09:45:14 * Update demos and unit tests so that they use the newly named types.
sammy fa7d0739 2008-05-01T09:31:27 * Mass consistency renaming: the fonts' "FTGL" prefix is dropped in favour of "FT" because all other types use only the latter. * Rename "Extrd" types to "Extrude" because the former doesn't really make much sense. * Added appropriate #defines so that legacy applications still build.
sammy 69b3d506 2008-05-01T07:47:24 * Predefine __cplusplus in the Doxygen config file so that the whole headers are parsed.
sammy acff56f2 2008-05-01T07:37:56 * Generate the Doxygen configuration file at configure time so that we don't need to hardcode the package version in it. * Only generate documentation for the public classes.
sammy 7543e5d3 2008-04-30T19:59:48 * Remove deprecated html.tar.gz tarball. We may ship one later, but right now it is unusable. * Update Doxygen config file so that it sees our new header locations.
sammy 8f4cefb2 2008-04-30T16:35:23 * Remove FTGL_EXPORT specification from classes that are not actually exported.
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 1d9265ad 2008-04-30T14:10:08 * Improve constructor code in the FTFont and FTLayout C bindings. Shorter (40 lines) and more consistend code.
sammy 24656f3c 2008-04-30T14:07:52 * Fix Makefile to add missing header files in "make dist".
sammy 8c654f07 2008-04-30T14:02:25 * Implement FTLayout::Error(). Nothing uses it yet and it's always zero, but it may come in handy later and we want a stable API.
sammy ecea190c 2008-04-29T23:08:14 * Small C test program. It does not do anything yet, but it's already a good thing to know whether all public headers can be #included from C code.
sammy 0c84f1f3 2008-04-29T22:59:41 * Wrote C bindings for the FTGlyph class.
sammy 7f4fcafa 2008-04-29T21:35:16 * End of the pImpl refactoring task started in [972]. FTGlyph was the last class needing the change. As a consequence, FTGlyph is now also exported in the library API, and so are FTBBox and FTPoint.
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 387dec48 2008-04-29T17:11:57 * Move FTGlyph, FTFont and FTLayout classes and their derivatives into separate subdirectories of src/ to avoid cluttering src/ with too many files. The Visual Studio solution still needs an update.
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 8886dced 2008-04-29T14:57:06 * Fix the ftglLayoutRenderSpace C binding's prototype, which wasn't in sync with its implementation in FTGlue.cpp.
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 4db4b05d 2008-04-29T11:30:15 * Remove dead code: FTGLBufferFont and FTBufferGlyph are the same as FTGLPixmapFont and FTPixmapGLyph, except the latter are actually used and do work.
sammy 001ebbdd 2008-04-29T11:18:48 * Remove useless overriden methods in FTGLBitmapFont that reimplemented the same thing as in FTFont.
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.
brlcad 68e10a56 2008-04-28T17:48:35 replace the bootstrap script with autogen.sh (buildconf project) with does much (much) more in terms of protections, reporting options, and error recovery that supports a wide variety of autotool versions, autoreconf bug workarounds, and system misconfiguration issues.
brlcad 3674c4d1 2008-04-28T17:31:42 specify minimum versions, make ac be 2.58 and am be 1.6 (needed in order to support os x 10.4 out-of-the-box). PKG_CHECK_MODULES doesn't seem to wrap the args properly so you can't embed AC_MSG_RESULT, make a zip and bzip2 when we make a dist, and provide NULL to make am happy
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 1249b8b0 2008-04-28T13:11:04 * Remove deprecated extras/layout stuff. We now have FTSimpleLayout anyway.
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 92d4cec3 2008-04-28T09:11:48 * The C constructors now properly return NULL if the C++ constructor failed.
sammy 46ae3db6 2008-04-28T09:10:37 * Crash fix: do not try to delete FTFont::glyphList if the constructor failed.
sammy c2ebad6c 2008-04-27T19:55:30 * Use libtool' versioning features to call the library libftgl.2.1.3. This is not the recommended way to do, but it's nice to synchronise the package's version and the library's soname.
sammy 8816c73c 2008-04-27T10:22:55 * Fix erroneous warnings in the C bindings for destructors, by Eric Beets.
sammy aaf4b59d 2008-04-27T09:52:41 * Various fixes and improvements to the demo, by Eric Beets and myself.
sammy 4489aa96 2008-04-25T12:24:52 * *sigh*, another bug fix for a problem I introduced in [941].
sammy 47f00182 2008-04-25T12:22:22 * Use macros instead of enums in the C bindings. Not the most elegant thing, but it avoids naming conflicts when mixing C and C++ code. Patch by Eric Beets.
sammy 06dd5949 2008-04-25T10:01:29 * Implement Render() for all Font types. Patch by Eric Beets.
sammy 9f52ec90 2008-04-25T10:01:07 * Align FTPixmapGlyph and FTTextureGlyph objects at round pixel coordinates to reduce bleeding. Patch by Ton Roosendaal, from Blender commit r4411.
sammy f6445414 2008-04-25T10:00:44 * Disable the use of the font's internal bitmap in FTGLTextureFont and FTGLPixmapFont. Patch by Shizu, from Blender commit r4569.
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 8a02d0b0 2008-04-25T09:59:25 * Somewhat hackish support for Solaris 10 x86 support. The problem is that our public headers need the GL and GLU headers, which are in very different locations depending the system. One solution would be to generate FTGL.h at configure time. Patch by Kent Mein, taken from Blender commit r12796.
sammy d0651fb6 2008-04-25T09:59:11 * Fix random bugs introduced in [941] and [943].
sammy 0aff12c1 2008-04-24T13:40:12 * Rename "win32_vcpp" to "msvc" and move all Visual Studio build files out of their subdirectory. * Add the msvc subdirectory to "make dist" so that it gets distributed.
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 21f3d07c 2008-04-23T21:23:22 * Add loads of C/C++ warning flags to the build process: -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare * Add C-specific warning flags, too: -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
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 0007128c 2008-04-23T12:12:51 * Cosmetic changes to FTGLDemo: bigger font, layout-compliant text, filtered textures.
sammy 26da265c 2008-04-23T09:51:14 * Check for <GL/glut.h> and <GLUT/glut.h> during the configure step instead of guessing their location at build time.
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 f6c61246 2008-04-22T17:09:52 * Advertise the C bindings in the NEWS file.
sammy 15d3cad5 2008-04-22T17:06:49 * Fix FTTextureGlyph rendering offset so that it works with layouts.
sammy c4650043 2008-04-22T16:45:30 * Fix the demo program so that it uses the FTTextureFont class.
sammy 123c5972 2008-04-22T16:42:55 * Slightly tune the demo to show the new FTGL::RENDER_FRONT and RENDER_SIDE features.