|
0c84f1f3
|
2008-04-29T22:59:41
|
|
* Wrote C bindings for the FTGlyph class.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
8886dced
|
2008-04-29T14:57:06
|
|
* Fix the ftglLayoutRenderSpace C binding's prototype, which wasn't in sync
with its implementation in FTGlue.cpp.
|
|
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.
|
|
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.
|
|
001ebbdd
|
2008-04-29T11:18:48
|
|
* Remove useless overriden methods in FTGLBitmapFont that reimplemented
the same thing as in FTFont.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
92d4cec3
|
2008-04-28T09:11:48
|
|
* The C constructors now properly return NULL if the C++ constructor failed.
|
|
8816c73c
|
2008-04-27T10:22:55
|
|
* Fix erroneous warnings in the C bindings for destructors, by Eric Beets.
|
|
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.
|
|
06dd5949
|
2008-04-25T10:01:29
|
|
* Implement Render() for all Font types. Patch by Eric Beets.
|
|
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.
|
|
d0651fb6
|
2008-04-25T09:59:11
|
|
* Fix random bugs introduced in [941] and [943].
|
|
75c73099
|
2008-04-23T21:23:59
|
|
* Fix most compilation warnings. Most frequent causes: shadow declarations
and const qualifier disappearances.
|
|
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.
|
|
9ae936f3
|
2008-04-22T23:47:24
|
|
* C bindings for the FTLayout interface. Code by Eric Beets.
|
|
15d3cad5
|
2008-04-22T17:06:49
|
|
* Fix FTTextureGlyph rendering offset so that it works with layouts.
|
|
bf878876
|
2008-04-22T16:21:37
|
|
* Fix displaylist usage in FTExtrdGlyph. Closes SourceForge ticket #1945392.
|
|
ef85a014
|
2008-04-22T16:21:04
|
|
* Allow to selectively display parts of the glyph/font/layout. This is
currently only used in FTExtrdGlyph: it lets the user render the front
surface in a different color than the extruded side surface. Code written
by Eric Beets.
|
|
cb8ae5d9
|
2008-04-22T16:18:07
|
|
* Fix displaylist usage in FTOutlineGlyph and FTPolyGlyph. FTExtrdGlyph
still needs to be fixed, but that will be after pending Render() changes.
Partially addresses SourceForge ticket #1945392.
|
|
7e74380f
|
2008-04-21T21:48:03
|
|
* Inset/outset contour support for fonts, by Eric Beets. For now, only
contours with exactly the same number of points are generated.
|
|
83a36614
|
2008-04-17T13:37:32
|
|
* Implement - and -= operators in the FTPoint class.
* Allow to omit the Z coordinate in the FTPoint constructor, in which case
it is set to zero.
|
|
2cf6ff94
|
2008-04-16T15:57:01
|
|
* Remove a lot of code duplication caused by the char/wchar_t overloading
thanks to templates. No API change here.
|
|
55d3f835
|
2008-04-15T09:53:27
|
|
* Added ftglDestroyFont() destructor for the C bindings.
* Remove useless "#ifdef __cplusplus" constructs from .cpp files.
|
|
8cc7c576
|
2008-04-14T13:41:29
|
|
* Remove stray non-breaking spaces from the source code.
|
|
dedd7ce5
|
2008-04-14T13:22:21
|
|
* Made the FTSimpleLayout coding style consistent with the rest of the code.
|
|
87609beb
|
2008-04-13T22:13:44
|
|
* Added copyright and license information to recently merged files.
|
|
d6a2d851
|
2008-04-13T21:14:44
|
|
* Merged trunk commits [664], [665], [666], [667], [669], [670], [671],
[672] and [684], by patrick and henry:
+ Added FTLayout.h, FTSimpleLayout.h and FTSimpleLayout.cpp to implement
a framework for layout managers and an implementation of a simple layout
manager.
+ Updated FTGLDemo to use the new FTSimpleLayout. Changes include:
- Added a font origin to specify the location to render the font.
- The default text is now blatantly plagarized from the back cover of
the OGL red book.
- The font size is much smaller.
- Font metrics are rendered differently depending on the current layout
manager.
- The FTSimpleLayout alignment mode is now output with other font
information.
- The space bar no longer cycles through the fonts. The cursor up/down
keys do.
- The cursor left/right keys increment/decrement the size of the current
font.
- The page up/page down keys cycle through the layout managers.
- The home/end keys increment and decrement the line length of a simple
layout
- The tab key cycles through the alignment modes of a simple layout.
+ Fixed a bug where the trackball rotation was applied after translation.
+ Minor reformatting and enabled texture fonts to be selected
+ Un-inlined private methods...because they are called by other private
inlined methods
+ Minor formatting changes
+ Adding FTLayout
|
|
a6f07b94
|
2008-04-13T19:37:25
|
|
* Merged trunk commits [662] and [663], by patrick:
+ Added the FTBBox::Invalidate and FTBBox::IsValid methods.
+ Changed the FTFont::BBox to accept a range of indicies. Only characters
with the range are checked. The previous funcitonality is preserved via
inline methods that call the new implementation.
+ Kluged a fix for a bug where FTFont::BBox was returning bounding volumes
where min > max. I don't know where the problem is originating, I just
force the bounds to be correct.
+ Changed the FTFont::DoRender methods to accept an external FTPoint for
the pen position. This enables FTLayout classes to use their own pen
for rendering.
+ Added the FTLayout class as a friend of FTFont to allow layout managers
to call private rendering functions and access private font information.
|
|
71eb8253
|
2008-04-13T07:48:50
|
|
* Refactoring FTContour.
|
|
141112c4
|
2008-04-12T22:44:48
|
|
* Add licensing information to all files in the library.
|
|
8b9739ee
|
2008-04-11T16:24:56
|
|
* C bindings for FTGL, written by Éric Beets <ericbeets@free.fr>.
|
|
d87d5a2c
|
2008-04-04T09:18:46
|
|
* Remove extra qualification in FTTextureGlyph::ResetActiveTexture, this is
illegal and no longer tolerated by recent gcc versions.
|
|
ee107630
|
2008-03-03T16:41:35
|
|
* Remove svn:executable property from source files.
|
|
f0f550ea
|
2008-03-03T16:36:07
|
|
* Remove svn:executable property from source files.
|
|
37cf28b8
|
2005-01-03T07:54:09
|
|
Added test for SDL
|
|
5760ea26
|
2004-12-12T10:01:50
|
|
Changed behaviour so that if an errror occurs the object isn't modified. (strong guarantee).
|
|
d60f1a16
|
2004-12-06T22:42:28
|
|
const correctness.
|
|
a675949b
|
2004-12-05T09:08:27
|
|
const correctness
|
|
a2985cbf
|
2004-10-18T21:41:36
|
|
Removed depth member var.
Fixed a problem with normal generation.
|
|
55888982
|
2004-10-17T00:40:24
|
|
Changed advance to be an FTPoint rather than a float.
|
|
46e9a5bb
|
2004-10-12T01:23:54
|
|
Updated comments
|
|
231a1d7e
|
2004-10-12T01:06:11
|
|
Got rid of the DoRender function.
|
|
1f69e6a0
|
2004-10-11T02:58:52
|
|
Added operator + & * to FTPoint
|
|
8c207cad
|
2004-10-11T01:58:43
|
|
Renamed variable
|
|
4c6baa27
|
2004-10-10T22:50:01
|
|
Refactoring FTPoint
|
|
b2bd1ab8
|
2004-10-10T11:14:58
|
|
Refactoring FTPoint
|
|
4c9a32b2
|
2004-10-10T10:45:37
|
|
Added cast to double operator
|
|
3d3a4852
|
2004-10-08T11:37:28
|
|
Changed a couple of variable names.
|
|
f4ffb37e
|
2004-10-05T04:49:09
|
|
nothing
|
|
05317481
|
2004-10-05T04:48:14
|
|
Added hasKerningTable member so we don't query the font every glyph.
Got rid of the redundant Close() and unused UnitsPerEM()
|
|
f4e9d7a3
|
2004-10-03T21:10:47
|
|
Update comments
|
|
d73b3f7b
|
2004-09-30T13:18:34
|
|
Removed GL_EXT_texture_object defines.
|
|
084a215d
|
2004-09-30T11:46:48
|
|
Updating documentation
|
|
89367de7
|
2004-09-29T23:09:53
|
|
Removed the pixels per em function because no one is using them.
Added a test to bail early if the client is setting the size to the existing size.
|
|
9c4d8012
|
2004-09-26T09:45:18
|
|
Added an assert for a 0 maximum texture size. This is tripping some people up.
|
|
0dce598f
|
2004-08-23T08:05:04
|
|
Added LineHeight function.
|
|
ce828a7d
|
2004-08-23T07:18:23
|
|
Got rid fo the GL_TEXTURE_2D_BINDING_EXT call in FTTextureGlyph and replaced it with a static member.
|
|
22da938d
|
2004-08-17T01:51:39
|
|
Added docs
|
|
13c2c054
|
2004-08-16T06:22:47
|
|
Updated FTFont( *pBufferBytes, bufferSizeInBytes) documentation.
|
|
40b3fa94
|
2004-05-10T09:11:30
|
|
First add for buffer font stuff
|
|
d5e0a0cd
|
2004-05-09T07:22:41
|
|
Changed signed to unsigned for glyph indices
|
|
d5f912b3
|
2004-05-09T07:13:48
|
|
Updated for changes in FTCharmap
|
|
6355a5d0
|
2004-05-09T07:09:41
|
|
Renamed functions for clarity
|
|
85085a36
|
2004-04-20T20:50:22
|
|
Moved include to fix FT_OPEN_MEMORY # def for older freetype versions
|
|
4af76ad0
|
2004-04-09T05:42:21
|
|
Added comment extra function
|
|
9b56d729
|
2004-04-09T05:22:32
|
|
Added comments for new functions
|
|
5aa7c451
|
2004-04-09T04:08:08
|
|
Find no longer returns a pointer
|
|
325066d2
|
2004-04-09T03:51:36
|
|
Added symbol for front and rear facing
|
|
e2239437
|
2004-01-22T08:11:48
|
|
Changed FTGLTextureFont to use FTVector for texture id list.
|
|
bc7fea71
|
2003-10-19T21:16:41
|
|
Moved charmap list function out of FTCharmap into FTFont
|
|
0418c75c
|
2003-10-19T02:40:00
|
|
Can now get the list of supported charmaps for the font.
|
|
4a42ba2e
|
2003-10-11T03:41:25
|
|
FTCharToGlyphIndexMap::find no longer returns a pointer
|
|
152f03ff
|
2003-10-02T04:07:34
|
|
Test for outline or bitmap doesn't seem to matter.
|
|
2b8fc1b1
|
2003-10-01T06:46:18
|
|
Now uses FT_Outline_Get_CBox where possible
|
|
ab105e73
|
2003-10-01T00:25:15
|
|
Minor change
|
|
cca1059d
|
2003-09-29T20:59:51
|
|
Added SetDepth function to FTBBox
|
|
46161923
|
2003-09-29T04:56:10
|
|
Changed from FT_Glyph to FT_GlyphSlot
|
|
59a0780e
|
2003-09-25T03:55:19
|
|
Changed to use FTGlyphSlot internally instead of FTGlyph
|
|
5c209525
|
2003-09-24T22:05:57
|
|
Removed old char map function
|
|
8fd2ff3e
|
2003-09-22T02:11:42
|
|
Fixes for deprecated identifiers in 2.1.5
|
|
61579a7b
|
2003-09-19T23:35:03
|
|
Fixed a spelling mistake.
|
|
dc4d1fa2
|
2003-07-23T09:06:51
|
|
Remove Font Table function.
|
|
e674078e
|
2003-07-21T09:46:25
|
|
Merged FTGL_2_0_4
|
|
b1598ed1
|
2003-07-12T12:06:22
|
|
Removed inline directive
|
|
56289ce6
|
2003-06-08T01:09:17
|
|
Refactored FTGlyphContainer & FTCharmap. They now store FTGlyphs sequentially rather than by glyph index.
|
|
4e8f31ae
|
2003-06-03T04:01:13
|
|
Now takes an FTGL face not a Freetype fac
Fixed docs
Added glyphIndex function
|
|
9b56a0dd
|
2003-06-03T03:58:40
|
|
Minor format fix
|
|
5504970b
|
2003-06-03T03:08:31
|
|
Moved FTCharmap into this class
|
|
f3f1bf40
|
2003-06-03T02:50:08
|
|
Removed FTCharmap member and associated methods
|
|
af2e589c
|
2003-06-03T02:44:14
|
|
Better variable name
|
|
f29956a1
|
2003-04-13T02:09:47
|
|
Fixed FTGLTextureFont resize bug
|
|
38ead5fd
|
2003-04-06T23:48:36
|
|
Un-inlined private methods...because they are called by other private inlined methods
|