|
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.
|
|
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.
|
|
f7275289
|
2008-05-08T17:07:57
|
|
* Update BUGS and TODO now that we got rid of some bugs.
|
|
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.
|
|
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.
|
|
2ecbe452
|
2008-05-08T17:05:26
|
|
* Add scalar product to the FTPoint operators.
|
|
f2348fe5
|
2008-05-08T17:04:07
|
|
* Cosmetic fixes in the FTLayout C bindings.
|
|
55bf1ff0
|
2008-05-08T17:03:07
|
|
* Small optimisation in FTContour::ComputeOutsetPoint().
|
|
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.
|
|
45c2269f
|
2008-05-07T16:10:28
|
|
* Some code cleanup here and there, mostly in FTGlyphContainer.
|
|
20620dc7
|
2008-05-07T15:09:25
|
|
* Fixed and reactivated unit tests that were disabled during the pImpl
refactoring.
|
|
1deacbc3
|
2008-05-07T15:07:38
|
|
* Documentation updates.
|
|
48b68f55
|
2008-05-07T15:06:19
|
|
* Replace FTBBox::Move() with the += operator, to make it clearer that the
object is modified in the process.
|
|
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.
|
|
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.
|
|
f58ddca2
|
2008-05-07T14:59:03
|
|
* Fix FTBBox::SetDepth() behaviour with negative depth values (as done in
the FTExtrudeGlyph class).
|
|
28cc198b
|
2008-05-07T14:58:09
|
|
* Reimplement all FTFont::BBox() variants using the same FTFontImpl::BBox()
common method.
|
|
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.
|
|
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.
|
|
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.
|
|
7201d98a
|
2008-05-07T00:11:09
|
|
* Synchronise msvc/Makefile.am with its directory contents.
|
|
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.
|
|
f3211b08
|
2008-05-06T21:43:37
|
|
make the windows demo build (on vc8 at least)
|
|
9fcf7fbd
|
2008-05-06T21:41:58
|
|
on recent MS compilers one must include stdlib.h before glut.h
|
|
a065f004
|
2008-05-06T21:19:42
|
|
* Refactor FTContour::ComputeOutsetPoint so that it's twice as short, even
with the additional comments.
|
|
134711d7
|
2008-05-06T21:19:29
|
|
* Make FTContour:FTContour comply with the FreeType specification and
remove duplicate points in the Bézier curves. Fixes weird rendering
errors with some fonts.
|
|
21dbe9d7
|
2008-05-06T21:19:09
|
|
* Minor fixes to the simple demo.
|
|
08e33f69
|
2008-05-06T12:14:36
|
|
* Create a C demo to show how the C bindings work.
|
|
500c67e7
|
2008-05-06T10:01:27
|
|
* Show how to subclass FTFont classes in the simple demo.
|
|
4ed52c55
|
2008-05-06T10:00:48
|
|
* Fix an unsigned int / size_t mismatch in FTVectoriser.
|
|
654d19c4
|
2008-05-06T08:24:45
|
|
* Move msvc/Makefile.am back to its proper place.
* Add the new visual studio build files to the distribution.
|
|
15012d0f
|
2008-05-06T07:08:55
|
|
* Fix indentation by replacing a few tabs with spaces.
|
|
948e3629
|
2008-05-06T06:54:51
|
|
l != 1, depending on your font of course
|
|
eb45c699
|
2008-05-06T06:38:37
|
|
VC build fixes from bzflag revs 17848-17852.
* size_t consistency
* avoid coercing from int to bool
* make casts from double to float explicit rather than implicit, mostly by way of a few new getter functions in FTPoint, or avoid if possible.
|
|
4fdf308c
|
2008-05-06T06:03:46
|
|
mention the joy of the build dir.
|
|
a7b8433a
|
2008-05-06T06:02:51
|
|
a readme for those that like to read and learn and grow.
|
|
17d2b384
|
2008-05-06T05:51:54
|
|
make the demos build, and pair it down to just one set of build targets, release and debug
|
|
fe768541
|
2008-05-06T05:43:46
|
|
put our stuff in build not debug
|
|
adad77b4
|
2008-05-06T05:43:22
|
|
build a static lib as an option
|
|
d15e7a70
|
2008-05-06T05:12:39
|
|
start a vc7.1 build
|
|
95f3b90b
|
2008-05-06T04:55:37
|
|
build as a VC8 DLL again
|
|
c6053772
|
2008-05-06T04:15:12
|
|
move the config.h and demo file up so they can be shared with all MSVC builds.
|
|
fe766c64
|
2008-05-06T04:04:10
|
|
begone, vile beasties
|
|
e56f9fdd
|
2008-05-06T04:03:17
|
|
fix busted line endings
|
|
83bbc4b9
|
2008-05-06T03:59:34
|
|
move 2005 build files to VC8 dir so we can have more then one windows build system
|
|
1c9e4908
|
2008-05-05T22:16:02
|
|
* The FTGL "simple demo" is no longer simple. Wrote a really simple one.
|
|
f7b79437
|
2008-05-05T14:55:11
|
|
* Refactor FTGlyph, FTFont and FTLayout so that client applications can
hopefully subclass them.
|
|
68bcaf26
|
2008-05-05T14:52:48
|
|
* Rename FTTextureFontImpl::MakeGlyph to FTTextureFontImpl::MakeGlyphImpl to
avoid confusion.
|
|
7d3852f9
|
2008-05-05T14:52:17
|
|
* Rename FTFontImpl::base to FTFontImpl::intf.
|
|
4a459132
|
2008-05-05T13:22:30
|
|
quell warnings, reorder initializations
|
|
98bae147
|
2008-05-05T13:14:38
|
|
don't need to check for glu if we have the mac opengl framework
|
|
0a28e5d3
|
2008-05-04T19:39:34
|
|
* Put MakeGlyph back into FT*Font classes instead of FT*FontImpl, and make
it use as few FT*FontImpl members as possible so that external application
may actually have a chance to properly subclass us.
|
|
316a7285
|
2008-05-04T19:38:55
|
|
* The FTFont<->FTFontImpl bridge is now complete.
|
|
89585b8a
|
2008-05-04T19:38:41
|
|
* Put my name and Sean's in the public headers so that people know who to
contact.
|
|
54c815bb
|
2008-05-04T19:38:07
|
|
* Cast strings to unsigned char * before handling them to our internal
methods, because the chars may be cast directly to int, causing crashes
with 8-bit strings.
|
|
25a245db
|
2008-05-04T16:24:45
|
|
revert the r1027 changes related to PKG_CHECK_MODULES. provide the macro via the pkg.m4 script but still don't abort if it's not found.
|
|
02817b9c
|
2008-05-04T06:23:04
|
|
quell compilation warnings about the last enum having a comma
|
|
c0e4ee1e
|
2008-05-04T06:04:27
|
|
remove the silly one-liner cleanup script that just removes Finder files
|
|
a0a9f44c
|
2008-05-04T05:45:54
|
|
sort makefiles for easier comparison
|
|
81cda3aa
|
2008-05-04T05:04:25
|
|
include the changelog
|
|
204900fe
|
2008-05-04T04:55:16
|
|
initial changelog through today created via svn2cl.sh -i -a
|
|
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)
|
|
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
|
|
acbb6a53
|
2008-05-04T04:35:41
|
|
print an informative summary
|
|
2ebf9ff3
|
2008-05-04T04:31:07
|
|
have to add the default include dir path to the CPPFLAGS so we can find the headers
|
|
b14c5cd1
|
2008-05-04T04:29:59
|
|
GLUT framework needs the OpenGL framework, use the same Xlinker hack for libtool
|
|
05e68e0b
|
2008-05-04T03:59:03
|
|
add an output summary
|
|
ccef49b6
|
2008-05-04T03:55:24
|
|
test with LIBS instead of LDFLAGS but don't persist since that's done later
|
|
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
|
|
b7c7e131
|
2008-05-04T02:58:40
|
|
refer to local/private headers with local path inclusion, otherwise the search include paths are wrong
|
|
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
|
|
f7d38361
|
2008-05-03T23:40:51
|
|
use AC_PATH_PROG instead of PKG_CHECK_MODULES to keep the versions to a minimum
|
|
ea4236d4
|
2008-05-03T17:21:25
|
|
have to quote the AC_MSG_ERROR else the exit code is screwed up
|
|
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.
|
|
15f659bb
|
2008-05-02T13:28:37
|
|
* Fix inconsistencies in the documentation install paths.
|
|
e0e8e479
|
2008-05-02T13:27:11
|
|
* Add an implicit cast to FTGL::TextAlignment in the FTLayout::SetAlignment
C wrapper.
|
|
9b3a3a8a
|
2008-05-02T13:18:09
|
|
* Started documenting the FTLayout C bindings.
|
|
65c77f88
|
2008-05-02T13:17:45
|
|
* Generate PDF documentation if a proper LaTeX installation can be found.
|
|
c33efa0d
|
2008-05-02T12:45:21
|
|
* Use a smaller logo on the User Guide's front page.
|
|
7f2bb3f1
|
2008-05-02T12:43:57
|
|
* Document the C bindings for FTGlyph.
|
|
d30f9095
|
2008-05-02T12:43:22
|
|
* Fix a potential memory leak in the FTGlyph C bindings error handler.
|
|
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.
|
|
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.
|
|
cd3d79bb
|
2008-05-02T09:16:51
|
|
* Activate macro expansion in Doxygen to hide useless macros such as
FTGL_EXPORT in the documentation.
|
|
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.
|
|
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.
|
|
66e53f95
|
2008-05-02T07:21:57
|
|
* Fix a memory leak in ~FTExtrudeGlyph: only one of the three display lists
was being freed.
|
|
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.
|
|
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.
|
|
dfa07fc3
|
2008-05-02T07:20:51
|
|
* Fix a small memory leak in the C bindings destructors.
|
|
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
|
|
b5d42ea1
|
2008-05-02T03:52:14
|
|
add a utf-8 coding line for emacs, attribute full name with e-mail
|
|
fb1f8e7b
|
2008-05-02T03:45:01
|
|
don't ignore COPYING now that there is one
|
|
e8c876bc
|
2008-05-01T19:31:06
|
|
* Make our base classes' destructors public. We want to prevent accidental
instantiation, but direct destruction is perfectly legal.
|
|
54e3e0a6
|
2008-05-01T18:46:22
|
|
* Proper FTFace member initialisation to prevent destructor-time crashes.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
129a4733
|
2008-05-01T13:42:49
|
|
* Store FTPoints in the BBox object instead of floats. This was a todo
from Henry.
|