Log

Author Commit Date CI Message
sammy 632c866d 2008-06-08T15:55:19 * Add a comment to FTBufferFont to not forget about bugs in it.
sammy b173cbee 2008-06-03T12:24:37 * Fix a crash in FTExtrudeGlyph caused by uninitialised members.
sammy 7e2d6252 2008-06-03T12:23:25 * FTBufferFont: use strndup() and, when available, wcsdup().
sammy cdc9b560 2008-06-03T12:23:07 * Coding style: remove tabs and trailing spaces, wrap long lines.
sammy 50444562 2008-06-03T12:22:45 * Multiline sed scripts won't work very well on Cygwin. Falling back to two piped sed calls instead.
brlcad 39428dc1 2008-05-30T04:07:23 push jwmelto's fix for the sed script error back upstream into ftgl
brlcad cc3b6827 2008-05-28T18:00:25 remove unused/unnecessary check for memset
brlcad 2d92e442 2008-05-28T15:46:02 target-specific CPPFLAGS was not added to automake until 1.7 so use AM_CPPFLAGS instead
brlcad 0dad54ef 2008-05-28T06:07:26 running configure on mac os x results in bad sed during search for a truetype font. haven't had time to investigate, but at least document it as a build system bug
brlcad 1bd31b76 2008-05-28T06:05:38 merge freetype.m4 update from downstream bzflag, which is in turn from latest freetype2 sources albeit modified to not abort on failure to find the freetype-config script.
brlcad ed67ba43 2008-05-28T04:43:59 bye bye, baby, bye bye. no more mac dir. the xcode project was entirely out of sync to be of any use and the includes are pointless (do proper subconfigure management instead)
dtremenak dd224b27 2008-05-24T19:04:02 from BZFlag r17264: rewrite StringCopy. wcscpy is not a standard function; we have logic for doing it ourselves already (minus the len = 0 case), so handle len = 0 and do it all ourselves.
dtremenak 6e4ad4cf 2008-05-23T16:45:20 Copyright notices as requested by sam
dtremenak e1e19b26 2008-05-23T00:56:25 include wctype.h to make gcc happy
dtremenak 484a90e1 2008-05-23T00:53:23 no need to shadow variables
dtremenak 84869ec7 2008-05-23T00:46:08 * Provide a helper class for walking potentially-multibyte unicode strings. * Provide support for multibyte encodings (UTF-8, UTF-16) in FTFont and derived classes, and in FTSimpleLayout. * Put a few UTF-8 strings in non-latin codeplanes in FTGLDemo (toggle at compile-time) for testing. * FTSimpleLayout should be tested extensively before release. I would be surprised if I didn't break at least one unusual use case.
dtremenak 3966ae39 2008-05-23T00:20:54 fix release mode configurations
sammy 95183df2 2008-05-23T00:16:54 * Start protecting FTBuffer members using getters and setters.
sammy f65297fb 2008-05-23T00:16:33 * Add ~40 entries to the list of projects that use FTGL.
sammy 1d8ef88c 2008-05-23T00:16:18 * Work around a Doxygen bug that creates fake latex references whenever we use "FTGL" in section names, and fails to remove the "%" in HTML pages whenever we use "%FTGL". Fixing HTML pages is easier.
sammy c715db9f 2008-05-23T00:15:57 * Simplify EPS creation rules.
dtremenak 898fd580 2008-05-22T17:28:21 quell deprecation messages for posix and c-style string functions
sammy c0cac6f6 2008-05-22T15:32:01 * Add GLBufferFont to the tutorial.
sammy 5de43fe6 2008-05-22T15:31:32 * Empty the FTBufferFont cache when changing the face size.
sammy d1bea035 2008-05-22T15:31:07 * Fix a visual bug in FTBufferFont caused by overlapping glyphs.
sammy be080092 2008-05-22T15:30:41 * Add a few entries to the list of projects using FTGL: Gem, Libinstrudeo, Light Speed!, projectM, Tulip.
sammy 2ec899b0 2008-05-22T15:30:25 * Print FPS information in the small demos.
sammy 743dcc85 2008-05-22T14:38:24 * Refactor the documentation to have a cleaner frontpage: put the tutorial and the FAQ in two separate pages, add links to the most important C and C++ documentation, and add projects_using_ftgl.txt to the doxygen project.
sammy b73f2e81 2008-05-22T12:39:48 * Implement caching in FTBufferFont. To avoid unnecessary texture uploads, each font object keeps the last 16 strings in the graphic card.
sammy 865b9043 2008-05-22T12:39:12 * Fix an off-by-one error in FTBufferGlyph::Render.
sammy a5fd3ea1 2008-05-21T16:38:25 * Revert the simple C++ demo to its previous state, now that FTBufferFont starts to work.
sammy 3d018d80 2008-05-21T16:37:54 * Fix the quad vertex order in FTBufferFont.
sammy 0bc4a552 2008-05-21T16:36:34 * Fix a bug in the FTFont::BBox calculation: the first glyph bbox was not relative to the position argument.
sammy 901ee76c 2008-05-21T15:45:11 * Fix a texture coordinate bug caused by our next-power-of-two ceiling.
sammy fa5631df 2008-05-21T15:43:52 * Add proper glPushAttrib() and glPushClientAttrib() calls to the rendering methods that need them.
sammy 68a99036 2008-05-21T11:39:31 * Enable GL_TEXTURE_2D in FTFont::Render variations that need it.
sammy a4096047 2008-05-21T11:39:14 * Temporarily disabled lighting in the simple demo to test FTBufferFont.
sammy 7eab0746 2008-05-21T10:11:38 * Add FTBufferFont to the complex FTGL demo.
dtremenak 65757b6e 2008-05-21T01:16:20 build C demo on windows
dtremenak 2c71b47d 2008-05-21T01:14:34 all variables must be declared at the start of a block for C89 compliance. also use explicit float constants.
dtremenak a8352445 2008-05-21T00:53:45 missed FTBuffer.cpp
dtremenak dee77a99 2008-05-21T00:44:40 build bufferfont/bufferglyph stuff on windows too
dtremenak f2011b55 2008-05-21T00:39:04 quell warning
sammy ca7c7a81 2008-05-20T23:49:25 * First try at the FTBufferFont/FTBufferGlyph implementation.
sammy 8932eba0 2008-05-20T23:48:56 * Rename FTTextureGlyphImpl::pos to FTTextureGlyphImpl::corner because pos was misleading.
sammy f7d00178 2008-05-19T15:45:47 * Starting the buffer font class revival. For now, it just consists in empty FTBuffer, FTBufferGlyph and FTBufferFont classes.
sammy 7abb7502 2008-05-19T10:06:49 * Do not crash if the face has no charmaps. Bug found using zzuf: xvfb-run zzuf -q -F5 -r0.0000001:0.1 -s0:10000 -c CTest EunjinNakseo.ttf
sammy 9b33da91 2008-05-19T10:06:25 * Simplified contour parity check routine, formula courtesy of Guillaume Bittoun.
sammy 13adc2c1 2008-05-19T10:06:07 * Add parentheses around && within || to please gcc.
sammy 23d0f832 2008-05-19T10:05:51 * Add a "make upload-doc" rule for easy online documentation updates.
sammy 877c49de 2008-05-12T14:25:45 * Use fontconfig to find fonts on the system.
sammy 150528ab 2008-05-12T14:11:45 * The examples now use FONT_FILE if it was found by the configure step.
sammy 56376414 2008-05-12T14:10:05 * Add an m4 check to look for a font file on the system.
brlcad d1cbf7a5 2008-05-12T04:59:58 add a list of project using ftgl
sammy 612c3756 2008-05-11T21:43:57 * Simplify the C bindings. 70 lines gained.
sammy b70df3d7 2008-05-11T21:43:35 * Get rid of FTSimpleLayout::RenderSpace(). It's still useful in FTSimpleLayoutImpl, but as a public method FTFont::Render() is just as powerful.
sammy 55dc91e0 2008-05-11T21:43:10 * Added optional position and string length to the Layout methods.
sammy a90225b5 2008-05-11T11:29:39 * Get rid of all methods in FTLayoutImpl that were accessing FTFontImpl internals, since FTFont now has all the proper public methods for that.
sammy 32ef6d1e 2008-05-11T11:29:17 * Get rid of FTFontImpl::DoRender(), one of the oldest TODOs.
sammy 47e20607 2008-05-11T11:28:53 * Re-add FTFont::BBox() implementations with the old prototype, in case old projects use them.
sammy 5f23d804 2008-05-11T11:28:38 * Honour the pen's Z coordinate when rendering glyphs (except the raster ones, where the Z coordinate makes no sense).
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 d39c7838 2008-05-11T11:26:12 * Kill 180 lines of code by removing duplicate *::Render() functions and giving a default value to the renderMode parameter.
sammy 646bb3bc 2008-05-11T11:23:58 * More documentation.
sammy 29ad0416 2008-05-11T11:23:20 * Ignore autom4te.cache and generated EPS files.
brlcad a52c3433 2008-05-09T15:43:11 add daniel and jeff
brlcad eb0df25b 2008-05-09T15:41:15 reference a font that actually exists.. alas we do not all have a /Users/henry/Development directory. at least this one will exist if X11 is installed.
sammy 7d047fd5 2008-05-09T13:42:25 * Add a few pictures to the documentation to illustrate what the font objects look like. * Generate EPS files at build time if the LaTeX output is activated.
sammy 00c81228 2008-05-09T10:03:18 * Update BUGS.
sammy 68738f93 2008-05-09T10:02:46 * Put a few wrapper functions into extern "C++" braces because they return references to C++ objects.
sammy 17f84259 2008-05-09T10:01:49 * Minor cosmetic fix (remove tab).
dtremenak ff534d1c 2008-05-08T23:45:05 use float constants when assigning to floats
dtremenak 6ba54b3d 2008-05-08T23:31:55 disable "'this': used in base member initializer list" warning. although it is dangerous practice, it's valid and ftgl does not use the passed pointer until well after the object is guaranteed to be fully constructed.
dtremenak f5ad459d 2008-05-08T23:27:21 quell spurious deprecation warnings
dtremenak 65ba4d60 2008-05-08T23:12:47 and more fun with float/double consistency
dtremenak d33c1e50 2008-05-08T23:12:29 more fun with size_t consistency
dtremenak 7c4faf7e 2008-05-08T23:10:17 M_PI and friends on MSVC are only defined if _USE_MATH_DEFINES is defined first. include it appropriately in config.h.
sammy e9260bbf 2008-05-08T22:35:57 * Implement C bindings for FTGlyph and FTFont subclassing. * Add subclassing to the simple C demo to show how to do similar stuff as in the C++ demo.
sammy f7275289 2008-05-08T17:07:57 * Update BUGS and TODO now that we got rid of some bugs.
sammy d5adb85b 2008-05-08T17:07:07 * When a glyph is created, check that all its contours have the proper clockwise/counterclockwise orientation. This fixes a nasty display bug with some badly encoded fonts.
sammy dccd536a 2008-05-08T17:06:24 * During contour creation, compute whether the contour is clockwise or anti-clockwise. This will be needed later to correct fonts that do not abide to the even-odd and non-zero winding number conventions, thus breaking our nice outset glyphs.
sammy 2ecbe452 2008-05-08T17:05:26 * Add scalar product to the FTPoint operators.
sammy f2348fe5 2008-05-08T17:04:07 * Cosmetic fixes in the FTLayout C bindings.
sammy 55bf1ff0 2008-05-08T17:03:07 * Small optimisation in FTContour::ComputeOutsetPoint().
sammy 92b95cde 2008-05-08T17:01:45 * Made most FTFont, FTGlyph and FTLayout function virtual. It's true that most of them use private members of the pImpl class and thus are not easily replaced, but intercepting the information may be useful in subclassing, too.
sammy 45c2269f 2008-05-07T16:10:28 * Some code cleanup here and there, mostly in FTGlyphContainer.
sammy 20620dc7 2008-05-07T15:09:25 * Fixed and reactivated unit tests that were disabled during the pImpl refactoring.
sammy 1deacbc3 2008-05-07T15:07:38 * Documentation updates.
sammy 48b68f55 2008-05-07T15:06:19 * Replace FTBBox::Move() with the += operator, to make it clearer that the object is modified in the process.
sammy 8863eeeb 2008-05-07T15:03:48 * Change the += operator for bounding boxes to |=, which better represents what is happening, and avoids future confusion with "FTBBox + FTPoint" constructs.
sammy 4f44ec81 2008-05-07T15:01:47 * Make all BBox functions return an FTBBox object instead of doing countless conversions to floats or arrays of floats.
sammy f58ddca2 2008-05-07T14:59:03 * Fix FTBBox::SetDepth() behaviour with negative depth values (as done in the FTExtrudeGlyph class).
sammy 28cc198b 2008-05-07T14:58:09 * Reimplement all FTFont::BBox() variants using the same FTFontImpl::BBox() common method.
sammy 3823a30a 2008-05-07T14:56:57 * Add an overload of FTFont::BBox that returns an FTBBox object. It will save us a lot of code later.
sammy 10cdd9a4 2008-05-07T14:55:41 * Allow to create an FTBBox using two FTPoint objects. * Allow the operands to FTPoint's "+" and "-" operators to be const.
sammy 68419d9b 2008-05-07T07:17:17 * In the C++ demo, show that FTFont itself can be directly derived, not only its subclasses. * Minor changes to the C demo to reduce the differences with the C++ version.
sammy 7201d98a 2008-05-07T00:11:09 * Synchronise msvc/Makefile.am with its directory contents.
dtremenak f7af2a1b 2008-05-06T22:36:53 get rid of the (broken and obsolete) windows-specific demo, and obsolete VC6 readme (which has been superceded by the global msvc readme). build the normal and simple demos in visual studio too.
dtremenak f3211b08 2008-05-06T21:43:37 make the windows demo build (on vc8 at least)
dtremenak 9fcf7fbd 2008-05-06T21:41:58 on recent MS compilers one must include stdlib.h before glut.h