src


Log

Author Commit Date CI Message
Frank Heckenbach 778b8f21 2019-05-24T23:58:47 src/FTFont/FTBufferFont.cpp, src/FTFont/FTTextureFont.cpp: GL_TEXTURE_ENV_MODE is not valid mask for glPushAttrib. Use GL_TEXTURE_BIT instead to avoid leaking texture env mode. (reported by Eddie-cz, https://github.com/frankheckenbach/ftgl/issues/3)
Frank Heckenbach 835f2ba7 2019-05-21T23:09:18 src/CMakeLists.txt: remove FTLibrary.h from libftgl_la_SOURCES (it's only in ftgl_headers)
Frank Heckenbach 8ee0d83b 2019-02-07T22:31:57 fix (if possible) or silence (otherwise) compiler warnings
Frank Heckenbach c261e7bd 2019-02-07T22:03:32 implement LegacyOpenGLState, see README-LegacyOpenGLState
Frank Heckenbach 0cfd347d 2019-02-07T20:31:00 some spelling fixes
Shlomi Fish 936719bc 2018-05-06T23:42:33 Correct a typo in a comment.
Olivier Sohn 768505ac 2018-01-31T00:31:08 Fix a memory leak
Frank Heckenbach 35301593 2018-01-29T03:55:37 FTContour: avoid NaN for angles close to 180 degrees (see Debian bug #589601, 5.)
Frank Heckenbach 2dee4458 2018-01-29T03:49:54 FTBufferGlyph: fix garbage with bitmap fonts (text is still clipped, that seems to be another problem)
Frank Heckenbach 9cc187e9 2018-01-29T03:11:13 FTTextureGlyphImpl: fix garbage with bitmap fonts (see Debian bug #589601, 4.)
Frank Heckenbach 5d98ca65 2018-01-29T03:06:40 FTPixmapGlyph: fix garbage with bitmap fonts (see Debian bug #589601, 2.)
Frank Heckenbach 8cca0305 2018-01-29T03:02:31 FTOutlineGlyphImpl, FTPolygonGlyphImpl: avoid uninizitalized vectoriser in case of error (see Debian bug #589601, 1.)
Richard dfd7c9f0 2016-09-17T11:14:07 Merge pull request #5 from damiandixon/master Add missing source files I use cmake rather than autoconf. So I didn't test it myself. But I trust it works.
damiandixon dad03968 2016-09-16T14:22:47 Add missing source files
Ben Boeckel 45f4ec1f 2016-02-25T15:31:02 cmake: install a proper config file FTGL knows exactly what is necessary for its install, so a config file is more appropriate. A "FindDep" module is meant for projects which need "Dep" which doesn't ship a configuration file.
Ben Boeckel dde5c75a 2015-02-18T15:28:10 windows: use the proper preprocessor define
David McFarland 72e5ad44 2014-08-02T21:12:12 Fix for incorrect handling of empty lines in FTSimpleLayout
Richard Ulrich d7d4594e 2012-06-13T21:27:56 added polygon extraction
sammy c0f486e1 2011-05-21T10:24:37 FTContour: fix a memory leak in the outset building. SF #3302743.
sammy 5c9dbfd7 2011-05-21T09:51:18 FTFont: replace glTexEnvf with glTexEnvi where appropriate. Fix courtesy of Bill Robinson <airbaggins@gmail.com>.
brlcad 9a13e4f8 2010-09-28T19:01:23 implement a quick check for __FUNCTION__ and __func__ based on whether the compiler can actually use one or the other at runtime. cache the checks and provide __FUNC__ for use via FTGL_CPP_FUNC.
sammy 42d104ae 2010-09-16T22:40:57 Fix a few compiler warnings, patch courtesy of packadal@gmail.com.
sammy 4c82e100 2010-05-23T20:46:45 Fix improper bound checks in FTGlyphContainer.
sammy 75213482 2010-05-23T18:55:36 Implement a 3-level bucket structure for glyphs, to account for all possible Unicode values as of now. Patch initially by SF user SilverDirk and slightly reworked.
sammy 87a8fb95 2010-05-23T17:50:57 Remove additional files upon make maintainer-clean. Fix courtesy of Bullet Catcher, from SF patch #2039757.
sammy 488765fb 2010-05-23T17:50:29 Set proper polygon mode in FTPixmapFont, to fix rendering on OS X. Fix courtesy of Duncan Murdoch, from SF patch #2023536.
sammy b066d782 2010-05-23T16:30:54 Add query functions to request FTGL configuration information: - C version: ftglGetString(); - C++ version: FTGL::GetString(); Currently supported strings are: - FTGL_CONFIG_VERSION: FTGL version information
sammy aaef5c16 2010-05-23T14:20:37 Enforce GL_POLYGON_BIT in FTPolygonFont, so that the caller's context does not interfere with our rendering. Addresses SF bug #2021485.
sammy cc4f28ba 2010-05-23T00:34:49 Set GL_TEXTURE_ENV_MODE to GL_MODULATE whenever necessary, to avoid rendering an empty rectangle. Addresses SF bug #2253040.
sammy d10af39f 2010-05-23T00:24:14 Properly handle Render's position argument in FTTextureFont and FTBufferFont. Addresses SF bug #2883801.
sammy 5d34f02f 2010-05-22T23:53:41 Fix a crash in FTCharToGlyphIndexMap::find(). Addresses SF bug #2471550.
sammy eae0686d 2010-05-22T23:02:34 Fix ftglRenderLayout() implementation. Fix courtesy of Tobias Gunkel. Addresses SF bug #2122839.
sammy 536f271b 2010-05-22T23:02:16 Export ftglSetFontGlyphLoadFlags() in FTFont.h. Addresses SF bug #2122849.
sammy 8157485d 2010-05-22T22:49:21 Fix texture height computation in FTTextureFont. Patch courtesy of Simone Contini. Addresses SF bug #2827618.
sammy 0e7b8c55 2010-05-22T22:28:55 Fix ftglGetLayoutAlignment spelling. Addresses SF bug #2120985.
sammy 2723c7d3 2010-05-22T22:17:27 Fix a division by zero in FTTextureFont.cpp. Addresses SF bug #2692128.
sammy deffdbba 2010-05-22T18:48:27 Support bitmap (1 bpp) fonts. Patch courtesy of Jaakko Hyvätti.
sammy 309590c0 2010-05-22T17:47:46 Fix padding usage in FTBufferFont, patch courtesy of Benlitz. Addresses sourceforge bug #2023590.
brlcad c04b6ae5 2010-05-12T16:29:08 pull in change from bzflag downstream, partial r20590 by brlcad, try harder to make sure we don't get a <char> template instantiation. getting a negative character code on high ascii values that causes a crash in FTGlyphContainer::Advance().
brlcad f2803ba1 2010-05-12T16:26:38 pull in change from bzflag downstream, r20591 by brlcad, FTVector's [] will let you run beyond the vector (crash), so manually make sure our glyph index is within bounds.
brlcad ca4a58f9 2010-05-12T16:24:45 pull in change from bzflag downstream, r20589 by brlcad, make sure our chars are all unsigned so we don't end up coercing a template instantiation to char where we start spitting out negative values.
brlcad da18f9db 2010-05-12T16:23:50 pull in change from bzflag downstream, r21141 by trepan, quieted some strict-aliasing warnings with a little dirty pool (in-place new's)
brlcad 394ceb32 2010-05-06T20:36:04 apply sf patch # 2121813 from Tobias Gunkel ( tobigun ) for Typo in FTLayoutGlue ftglGetLayoutBBox(). fixes the transposed letters.
sammy 97040c07 2009-09-13T08:59:48 Solaris 10 now has glu.h in the proper place. Reverting [947] as suggested by bzflag developer Bullet Catcher.
sammy 0fd32b61 2009-07-20T09:02:24 Add missing FTCleanup files required for commit 1218.
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 a45d89a5 2009-07-19T15:59:01 Remove dead code.
sammy 989d224e 2009-07-19T15:56:38 Document FTFont::renderMode usage, courtesy of Christopher Sean Morrison.
sammy ec01ea3b 2009-07-19T15:37:10 Don't display more than 8 soft assertions, and improve the FTASSERT_FAIL definition.
sammy 29603ae3 2009-07-19T15:28:59 Remove GL_BLEND tampering. It's the caller application's responsibility to enable or disable blending.
sammy 6533eff4 2009-07-19T15:06:37 Provide support for automake 1.6.3 as included in XCode 3.4.1 on MacOS 10.4, which uses AM_CPPFLAGS where automake 1.10 uses libftgl_la_CPPFLAGS. Patch courtesy of Bzflag's developer bullet_catcher for SF bug 2117545.
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.
sammy abaf40a5 2009-04-01T16:22:45 Remove trailing spaces and tabs to ease syncs bzflag needs to do.
sammy 92d175e8 2009-01-02T15:51:25 Implement ftglCreateBitmapFontFromMem() and siblings so that the font-loading can be done from memory in C (and in languages binding with FTGL through the C interface such as C#).
brlcad 6ce3b10b 2008-10-31T22:33:44 pulled from downstream bzflag. apply sf patch 2210898 (Fix for some potential FTGL issues) from Matt Handley (applmak) where he adds some asserts that check for the conditions that provoke glTexSubImage2D to return GL_INVALID_VALUE. this is being provoked by ftgl during Advance when the font size (0-2) is smaller than the hard-coded default font padding size (3).
jwmelto 2766703a 2008-09-08T03:16:59 Eliminate some double->float conversions for performance
dtremenak 03663110 2008-06-13T21:16:09 make windows use the FONT_FILE mechanism for setting default font in demos also, no reason to special-case it. add standard license verbage to msvc config.h. tack a copyright notice on a couple files I made significant changes to.
sammy 78bec1e6 2008-06-12T14:13:35 * ftglCreateBufferGlyph: do not export FTBufferFont in the C API: we do not have easy ways to emulate the FTBuffer object.
sammy ebd805d1 2008-06-12T14:13:05 * Prevent issues when strndup is defined as a macro.
dtremenak 4388dc7a 2008-06-11T23:23:05 provide for us poor sobs who don't have a native strndup implementation
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 4a3dd0f5 2008-06-09T11:47:42 * Code simplifications in FTContour.
sammy 291c70ed 2008-06-09T11:47:14 * Add "const" qualifier to FTPoint's scalar multiplication operator.
sammy a132a5e4 2008-06-09T11:45:52 * Document and reorganise FTBuffer. It is now clean enough.
sammy d7c9fc14 2008-06-09T10:13:09 * Document missing function parameters.
sammy 0b40c371 2008-06-09T10:12:21 * Better FTContour::ComputeOutsetPoint() documentation.
sammy 14e3e435 2008-06-09T10:11:58 * Create FTFont::GlyphLoadFlags() to vary FT_Load_Glyph() calls according to the font type. Now we no longer load vector information when not needed.
sammy 6c2a187c 2008-06-08T15:56:35 * Revert the FTFont::Advance() and FTGlyph::Advance() improvements. After discussion, I was convinced they were not worth the backwards compatibility breakage. They now return float again, instead of FTPoint.
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.
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.
sammy 95183df2 2008-05-23T00:16:54 * Start protecting FTBuffer members using getters and setters.
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 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 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.
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 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.