ANN: FTGL 1.0. Portable truetype font rendering in OpenGL

"Jefferson Heard" <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe,gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Hi folks.  I've just released some Haskell bindings to FTGL at
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/FTGL .
FTGL is an easy to use library for portable rendering of TrueType
fonts in OpenGL, with functions for creating bitmapped fonts,
texture-mapped fonts, buffered fonts, polygonal 2D fonts, and extruded
polygonal 3D fonts.  The code works on Windows and Linux.  I've not
tested it yet on the Mac.

To use FTGL in your programs, just import Graphics.Rendering.FTGL and use

do
  font <- createTextureFont "font.ttf"
  setFontFaceSize font 24 72
  renderFont font "some string"

More documentation can be found at the FTGL homepage at
http://ftgl.sourceforge.net

-- Jeff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.