|
936719bc
|
2018-05-06T23:42:33
|
|
Correct a typo in a comment.
|
|
768505ac
|
2018-01-31T00:31:08
|
|
Fix a memory leak
|
|
35301593
|
2018-01-29T03:55:37
|
|
FTContour: avoid NaN for angles close to 180 degrees (see Debian bug #589601, 5.)
|
|
2dee4458
|
2018-01-29T03:49:54
|
|
FTBufferGlyph: fix garbage with bitmap fonts (text is still clipped, that seems to be another problem)
|
|
9cc187e9
|
2018-01-29T03:11:13
|
|
FTTextureGlyphImpl: fix garbage with bitmap fonts (see Debian bug #589601, 4.)
|
|
5d98ca65
|
2018-01-29T03:06:40
|
|
FTPixmapGlyph: fix garbage with bitmap fonts (see Debian bug #589601, 2.)
|
|
8cca0305
|
2018-01-29T03:02:31
|
|
FTOutlineGlyphImpl, FTPolygonGlyphImpl: avoid uninizitalized vectoriser in case of error (see Debian bug #589601, 1.)
|
|
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.
|
|
dad03968
|
2016-09-16T14:22:47
|
|
Add missing source files
|
|
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.
|
|
dde5c75a
|
2015-02-18T15:28:10
|
|
windows: use the proper preprocessor define
|
|
72e5ad44
|
2014-08-02T21:12:12
|
|
Fix for incorrect handling of empty lines in FTSimpleLayout
|
|
d7d4594e
|
2012-06-13T21:27:56
|
|
added polygon extraction
|
|
c0f486e1
|
2011-05-21T10:24:37
|
|
FTContour: fix a memory leak in the outset building. SF #3302743.
|
|
5c9dbfd7
|
2011-05-21T09:51:18
|
|
FTFont: replace glTexEnvf with glTexEnvi where appropriate. Fix courtesy
of Bill Robinson <airbaggins@gmail.com>.
|
|
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.
|
|
42d104ae
|
2010-09-16T22:40:57
|
|
Fix a few compiler warnings, patch courtesy of packadal@gmail.com.
|
|
4c82e100
|
2010-05-23T20:46:45
|
|
Fix improper bound checks in FTGlyphContainer.
|
|
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.
|
|
87a8fb95
|
2010-05-23T17:50:57
|
|
Remove additional files upon make maintainer-clean. Fix courtesy of
Bullet Catcher, from SF patch #2039757.
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
d10af39f
|
2010-05-23T00:24:14
|
|
Properly handle Render's position argument in FTTextureFont and FTBufferFont.
Addresses SF bug #2883801.
|
|
5d34f02f
|
2010-05-22T23:53:41
|
|
Fix a crash in FTCharToGlyphIndexMap::find(). Addresses SF bug #2471550.
|
|
eae0686d
|
2010-05-22T23:02:34
|
|
Fix ftglRenderLayout() implementation. Fix courtesy of Tobias Gunkel.
Addresses SF bug #2122839.
|
|
536f271b
|
2010-05-22T23:02:16
|
|
Export ftglSetFontGlyphLoadFlags() in FTFont.h. Addresses SF bug #2122849.
|
|
8157485d
|
2010-05-22T22:49:21
|
|
Fix texture height computation in FTTextureFont. Patch courtesy of Simone
Contini. Addresses SF bug #2827618.
|
|
0e7b8c55
|
2010-05-22T22:28:55
|
|
Fix ftglGetLayoutAlignment spelling. Addresses SF bug #2120985.
|
|
2723c7d3
|
2010-05-22T22:17:27
|
|
Fix a division by zero in FTTextureFont.cpp. Addresses SF bug #2692128.
|
|
deffdbba
|
2010-05-22T18:48:27
|
|
Support bitmap (1 bpp) fonts. Patch courtesy of Jaakko Hyvätti.
|
|
309590c0
|
2010-05-22T17:47:46
|
|
Fix padding usage in FTBufferFont, patch courtesy of Benlitz. Addresses
sourceforge bug #2023590.
|
|
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().
|
|
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.
|
|
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.
|
|
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)
|
|
394ceb32
|
2010-05-06T20:36:04
|
|
apply sf patch # 2121813 from Tobias Gunkel ( tobigun ) for Typo in FTLayoutGlue ftglGetLayoutBBox(). fixes the transposed letters.
|
|
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.
|
|
0fd32b61
|
2009-07-20T09:02:24
|
|
Add missing FTCleanup files required for commit 1218.
|
|
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.
|
|
a45d89a5
|
2009-07-19T15:59:01
|
|
Remove dead code.
|
|
989d224e
|
2009-07-19T15:56:38
|
|
Document FTFont::renderMode usage, courtesy of Christopher Sean Morrison.
|
|
ec01ea3b
|
2009-07-19T15:37:10
|
|
Don't display more than 8 soft assertions, and improve the FTASSERT_FAIL
definition.
|
|
29603ae3
|
2009-07-19T15:28:59
|
|
Remove GL_BLEND tampering. It's the caller application's responsibility to
enable or disable blending.
|
|
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.
|
|
b7036d0c
|
2009-07-19T14:26:13
|
|
Fix coding style and remove tabs here and there.
|
|
cab1fafd
|
2009-07-19T13:05:50
|
|
Update my e-mail address everywhere.
|
|
abaf40a5
|
2009-04-01T16:22:45
|
|
Remove trailing spaces and tabs to ease syncs bzflag needs to do.
|
|
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#).
|
|
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).
|
|
2766703a
|
2008-09-08T03:16:59
|
|
Eliminate some double->float conversions for performance
|
|
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.
|
|
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.
|
|
ebd805d1
|
2008-06-12T14:13:05
|
|
* Prevent issues when strndup is defined as a macro.
|
|
4388dc7a
|
2008-06-11T23:23:05
|
|
provide for us poor sobs who don't have a native strndup implementation
|
|
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.
|
|
4a3dd0f5
|
2008-06-09T11:47:42
|
|
* Code simplifications in FTContour.
|
|
291c70ed
|
2008-06-09T11:47:14
|
|
* Add "const" qualifier to FTPoint's scalar multiplication operator.
|
|
a132a5e4
|
2008-06-09T11:45:52
|
|
* Document and reorganise FTBuffer. It is now clean enough.
|
|
d7c9fc14
|
2008-06-09T10:13:09
|
|
* Document missing function parameters.
|
|
0b40c371
|
2008-06-09T10:12:21
|
|
* Better FTContour::ComputeOutsetPoint() documentation.
|
|
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.
|
|
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.
|
|
632c866d
|
2008-06-08T15:55:19
|
|
* Add a comment to FTBufferFont to not forget about bugs in it.
|
|
b173cbee
|
2008-06-03T12:24:37
|
|
* Fix a crash in FTExtrudeGlyph caused by uninitialised members.
|
|
7e2d6252
|
2008-06-03T12:23:25
|
|
* FTBufferFont: use strndup() and, when available, wcsdup().
|
|
cdc9b560
|
2008-06-03T12:23:07
|
|
* Coding style: remove tabs and trailing spaces, wrap long lines.
|
|
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.
|
|
6e4ad4cf
|
2008-05-23T16:45:20
|
|
Copyright notices as requested by sam
|
|
e1e19b26
|
2008-05-23T00:56:25
|
|
include wctype.h to make gcc happy
|
|
484a90e1
|
2008-05-23T00:53:23
|
|
no need to shadow variables
|
|
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.
|
|
95183df2
|
2008-05-23T00:16:54
|
|
* Start protecting FTBuffer members using getters and setters.
|
|
5de43fe6
|
2008-05-22T15:31:32
|
|
* Empty the FTBufferFont cache when changing the face size.
|
|
d1bea035
|
2008-05-22T15:31:07
|
|
* Fix a visual bug in FTBufferFont caused by overlapping glyphs.
|
|
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.
|
|
865b9043
|
2008-05-22T12:39:12
|
|
* Fix an off-by-one error in FTBufferGlyph::Render.
|
|
3d018d80
|
2008-05-21T16:37:54
|
|
* Fix the quad vertex order in FTBufferFont.
|
|
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.
|
|
901ee76c
|
2008-05-21T15:45:11
|
|
* Fix a texture coordinate bug caused by our next-power-of-two ceiling.
|
|
fa5631df
|
2008-05-21T15:43:52
|
|
* Add proper glPushAttrib() and glPushClientAttrib() calls to the
rendering methods that need them.
|
|
68a99036
|
2008-05-21T11:39:31
|
|
* Enable GL_TEXTURE_2D in FTFont::Render variations that need it.
|
|
f2011b55
|
2008-05-21T00:39:04
|
|
quell warning
|
|
ca7c7a81
|
2008-05-20T23:49:25
|
|
* First try at the FTBufferFont/FTBufferGlyph implementation.
|
|
8932eba0
|
2008-05-20T23:48:56
|
|
* Rename FTTextureGlyphImpl::pos to FTTextureGlyphImpl::corner because pos
was misleading.
|
|
f7d00178
|
2008-05-19T15:45:47
|
|
* Starting the buffer font class revival. For now, it just consists in empty
FTBuffer, FTBufferGlyph and FTBufferFont classes.
|
|
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
|
|
9b33da91
|
2008-05-19T10:06:25
|
|
* Simplified contour parity check routine, formula courtesy of Guillaume
Bittoun.
|
|
13adc2c1
|
2008-05-19T10:06:07
|
|
* Add parentheses around && within || to please gcc.
|
|
612c3756
|
2008-05-11T21:43:57
|
|
* Simplify the C bindings. 70 lines gained.
|
|
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.
|
|
55dc91e0
|
2008-05-11T21:43:10
|
|
* Added optional position and string length to the Layout methods.
|
|
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.
|
|
32ef6d1e
|
2008-05-11T11:29:17
|
|
* Get rid of FTFontImpl::DoRender(), one of the oldest TODOs.
|
|
47e20607
|
2008-05-11T11:28:53
|
|
* Re-add FTFont::BBox() implementations with the old prototype, in case
old projects use them.
|
|
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).
|
|
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.
|
|
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.
|
|
68738f93
|
2008-05-09T10:02:46
|
|
* Put a few wrapper functions into extern "C++" braces because they return
references to C++ objects.
|