kc3-lang/ftgl/demo

Branch :


Log

Author Commit Date CI Message
thodg 4f375d14 2023-12-22 14:23:28 update_sources configure Makefile
ddc77166 2022-11-17 00:48:50 add missing ")" :)
a867c7a2 2022-11-17 00:43:20 demo/FTGLDemo.cpp, demo/FTGLMFontDemo.cpp: support Latin1 key strokes (fixes #15)
8ee0d83b 2019-02-07 22:31:57 fix (if possible) or silence (otherwise) compiler warnings
dde5c75a 2015-02-18 15:28:10 windows: use the proper preprocessor define
318ebf73 2014-08-02 21:38:59 Added GL_LIBS and LIBM in demo LDFLAGS
87a8fb95 2010-05-23 17:50:57 Remove additional files upon make maintainer-clean. Fix courtesy of Bullet Catcher, from SF patch #2039757.
b066d782 2010-05-23 16: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
5e98dee3 2010-05-23 14:33:48 Activate blending and line smoothing in the mini demos. Texture fonts now work again, and polygon fonts look smoother.
1a9ee361 2009-07-19 15:13:40 Add help and font size indicator to FTGLDemo, courtesy of Bzflag's developer jwmelto.
cab1fafd 2009-07-19 13:05:50 Update my e-mail address everywhere.
abaf40a5 2009-04-01 16:22:45 Remove trailing spaces and tabs to ease syncs bzflag needs to do.
fccd27b4 2008-08-05 15:21:25 add the same check to avoid negative font size as is used in FTGLDemo.
ae1656f5 2008-08-05 15:18:50 unsigned int, thx bulletcatcher
03663110 2008-06-13 21: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.
6c2a187c 2008-06-08 15: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.
cdc9b560 2008-06-03 12:23:07 * Coding style: remove tabs and trailing spaces, wrap long lines.
2d92e442 2008-05-28 15:46:02 target-specific CPPFLAGS was not added to automake until 1.7 so use AM_CPPFLAGS instead
84869ec7 2008-05-23 00: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.
2ec899b0 2008-05-22 15:30:25 * Print FPS information in the small demos.
a5fd3ea1 2008-05-21 16:38:25 * Revert the simple C++ demo to its previous state, now that FTBufferFont starts to work.
a4096047 2008-05-21 11:39:14 * Temporarily disabled lighting in the simple demo to test FTBufferFont.
7eab0746 2008-05-21 10:11:38 * Add FTBufferFont to the complex FTGL demo.
2c71b47d 2008-05-21 01:14:34 all variables must be declared at the start of a block for C89 compliance. also use explicit float constants.
150528ab 2008-05-12 14:11:45 * The examples now use FONT_FILE if it was found by the configure step.
55dc91e0 2008-05-11 21:43:10 * Added optional position and string length to the Layout methods.
20ac99b1 2008-05-11 11:28:08 * FTFont::Advance(), FTFont::Render() and FTFont::BBox() are now far more powerful, allowing for substring display and extra spacing between characters.
eb0df25b 2008-05-09 15: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.
ff534d1c 2008-05-08 23:45:05 use float constants when assigning to floats
e9260bbf 2008-05-08 22: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.
4f44ec81 2008-05-07 15:01:47 * Make all BBox functions return an FTBBox object instead of doing countless conversions to floats or arrays of floats.
68419d9b 2008-05-07 07: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.
9fcf7fbd 2008-05-06 21:41:58 on recent MS compilers one must include stdlib.h before glut.h
21dbe9d7 2008-05-06 21:19:09 * Minor fixes to the simple demo.
08e33f69 2008-05-06 12:14:36 * Create a C demo to show how the C bindings work.
500c67e7 2008-05-06 10:01:27 * Show how to subclass FTFont classes in the simple demo.
1c9e4908 2008-05-05 22:16:02 * The FTGL "simple demo" is no longer simple. Wrote a really simple one.
ab4586ca 2008-05-01 09:45:14 * Update demos and unit tests so that they use the newly named types.
2aa2aeb5 2008-04-30 16:27:34 * Move include/* to src/FTGL/* so the files in there can directly be referred to as "FTGL/*.h". This is convenient because they will be installed in a similar location. * Put a warning in each legacy public header to advise users to only include the generic <FTGL/ftgl.h> header instead.
1f4a94f8 2008-04-29 14: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.
c96146ed 2008-04-29 06: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.
3674c4d1 2008-04-28 17:31:42 specify minimum versions, make ac be 2.58 and am be 1.6 (needed in order to support os x 10.4 out-of-the-box). PKG_CHECK_MODULES doesn't seem to wrap the args properly so you can't embed AC_MSG_RESULT, make a zip and bzip2 when we make a dist, and provide NULL to make am happy
aaf4b59d 2008-04-27 09:52:41 * Various fixes and improvements to the demo, by Eric Beets and myself.
75c73099 2008-04-23 21:23:59 * Fix most compilation warnings. Most frequent causes: shadow declarations and const qualifier disappearances.
0007128c 2008-04-23 12:12:51 * Cosmetic changes to FTGLDemo: bigger font, layout-compliant text, filtered textures.
26da265c 2008-04-23 09:51:14 * Check for <GL/glut.h> and <GLUT/glut.h> during the configure step instead of guessing their location at build time.
9ae936f3 2008-04-22 23:47:24 * C bindings for the FTLayout interface. Code by Eric Beets.
15d3cad5 2008-04-22 17:06:49 * Fix FTTextureGlyph rendering offset so that it works with layouts.
c4650043 2008-04-22 16:45:30 * Fix the demo program so that it uses the FTTextureFont class.
123c5972 2008-04-22 16:42:55 * Slightly tune the demo to show the new FTGL::RENDER_FRONT and RENDER_SIDE features.
4c6f87b9 2008-04-21 21:48:37 * Fine tune the demo so that the extrude mode shows the outset results.
952ab5dc 2008-04-14 14:22:18 * Made the FTGLDemo and FTGLMFontDemo coding style consistent with the rest of the code.
87609beb 2008-04-13 22:13:44 * Added copyright and license information to recently merged files.
2d7750d7 2008-04-13 21:39:26 * Merged trunk commits [678] and [711], by henry: + Created a demo that can handle multiple fonts and command line options. + Updated for new compiler.
d6a2d851 2008-04-13 21: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
0b8db902 2008-04-12 22:41:39 * Fix an undefined operation in the FTGL demo.
7c358859 2008-04-04 12:43:38 * Generate a config.h file instead of passing all defines in the compiler command line. * "make install" now properly installs the includes, the documentation and the .pc file. * Generate a shared library.
9f978b91 2008-04-04 12:21:46 * Big build system overhaul. Autotools-generated files are no longer stored in SVN, the bootstrap script is more tolerant with odd installations, all makefiles are a lot shorter.
4d10d9d0 2008-04-04 11:19:57 * Put standard system headers first because on Windows glut.h uses exit().
a0614cd3 2008-04-04 09:20:40 * Fix an illegal cast of a static string to a char* (has to be char const*).
7682e585 2004-09-18 11:25:09 Added demonstration of texture co-ordinate generation.
2a980faa 2004-08-22 05:50:33 Removed unnecessary translates in the glyph rendering code.
3f033ecf 2003-05-03 05:45:13 Changed MAC font path
f8be5414 2003-04-10 02:27:45 - Created a demo that can handle multiple fonts and command line options.
112ded61 2003-04-06 23:47:27 Minor reformatting and enabled texture fonts to be selected
616a1574 2003-04-06 21:56:04 Fixed a bug where the trackball rotation was applied after translation.
d70b194d 2003-04-06 20:51:38 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.
ac4c33f8 2003-04-06 20:36:43 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 alignement - The space bar no longer cycles through the fonts. The cursor up/down keys
7b3414c8 2003-03-05 21:25:19 Version 2.0 release
6fcea409 2003-01-20 13:58:28 Expect a fontfile on the command line, fall back to a default one on systems where a default is known -- else complain about the missing parameter. Come to think of it, I could use a PS font on IRIX. I'll look into that later.
812361ee 2002-12-21 09:09:50 Changed int to float in glRasterPos
f31295ad 2002-12-17 09:10:33 Changed render to Render
9e37db56 2002-12-17 08:18:23 Changed mac font path to test directory
59259511 2002-12-16 08:27:39 Refactored FTFont to get rid of Open function
e59da05e 2002-12-05 06:47:30 Fixed path
a31de491 2002-12-02 06:32:46 Rewriting to make it more 'correct'
5fdcdcb8 2002-11-28 08:01:38 Removed some redundant code
a3adc62b 2002-06-21 08:29:11 Merged 1.32 into 1.4
a289e4ec 2002-06-21 08:22:34 Added hash define for windows fonts
3922d728 2002-02-16 05:42:47 Added EXTERN "C"
1fc86b8b 2002-02-16 05:12:09 Renamed from *.c to *.cpp
1537b21b 2002-01-28 06:24:30 Added comment about font path
021a3165 2002-01-24 09:40:39 Set the correct state for font type
e5b44d17 2002-01-10 07:14:55 Bbox now uses float
c346eca8 2001-12-11 23:11:23 Added compilation note
b7748851 2001-12-11 23:04:25 fixed glut header for OSX
6047a1c3 2001-12-11 22:46:41 initial import
521c2d21 2001-12-11 03:42:02 Tidy ups for release 1.3
f723df19 2001-12-10 23:35:59 Added edit mode, labels and a bunch more
09916d8f 2001-11-14 03:23:44 Enabled lighting for texture font
6f997a31 2001-11-13 20:10:26 Can now switch between font types.
d64b0422 2001-11-13 01:35:36 Added some comments
7c584066 2001-11-12 02:38:18 Changed blend func
d1e4ad97 2001-11-11 23:59:25 Initial import of demo