OpenGL/FreeType2 Text Rendering Library

OpenGL/FreeType2 Text Rendering Library is an interface library for rendering text in OpenGL programs.
Download

OpenGL/FreeType2 Text Rendering Library Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Allen Barnett
  • Publisher web site:

OpenGL/FreeType2 Text Rendering Library Tags


OpenGL/FreeType2 Text Rendering Library Description

OpenGL/FreeType2 Text Rendering Library is an interface library for rendering text in OpenGL programs. This C++ library supplies an interface between the fonts on your system and an OpenGL or Mesa application. It uses the excellent FreeType library to read font faces from their files and renders text strings as OpenGL primitives.Here are some key features of "OpenGL/FreeType2 Text Rendering Library":· Characters can be rendered in several ways: 1. Outlines extracted directly from vector font face data (the lines and curves in TrueType and Type1 formats) 2. Tessellated, filled polygons 3. Extruded solids (through the GLE Tubing and Extrusion library) 4. Monochrome bitmaps 5. Solid grayscale, antialiased pixmaps 6. Translucent antialiased pixmaps 7. As texture maps· Glyphs can be drawn individually or as a string.· If OGLFT is compiled with Qt support, glyphs can be rendered using UNICODE characters via the QString class.· You can also combine several fonts together in one OGLFT Face in order to increase the coverage of UNICODE points or for other special effects.· Strings can be rotated through any angle. Additionally each character in a string can be rotated through a given angle. Alternatively, each rendered string or individual character can have its own transformation matrix (or any other set of OpenGL operations which can be compiled into a display list).· PHIGS-like capability to draw right, centered or left justified strings.· Each rendered glyph is available as an OpenGL display list (although the application does not normally need to deal with this information). In the case of defining the glyphs as texture maps, a texture object is stored for each glyph.· A face (i.e., all the glyphs in a face) can map a coloration and/or texture function to the coordinates of the glyphs.· You can draw formatted numbers using the usual printf-style formats. There is also a special format (%p) which will draw the number as a fraction.Installation:The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation.It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions.Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed upreconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure').If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release.If at some point `config.cache' contains results you don't want to keep, you may remove or edit it.The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change it or regenerate `configure' using a newer version of `autoconf'.The simplest way to compile this package is:1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system.If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself.Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for.2. Type `make' to compile the package.3. Optionally, type `make check' to run any self-tests that come with the package.4. Type `make install' to install the programs and any data files and documentation.5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'.There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.What's New in This Release:· Moved my CVS repository so this is mostly a resync.· A couple of minor changes to configure.ac for RH Linux 9, too.


OpenGL/FreeType2 Text Rendering Library Related Software