Hi,

The stb-truetype library (http://hackage.haskell.org/package/stb-truetype) can rasterize TrueType fonts,
which then can be rendered with your preferred rendering method. It is probably less mature than FTGL,
but should be easy to compile on windows (simply "cabal install stb-truetype" should work, since
the source of the underlying C library is included in the cabal package, and GHC includes a GCC
disribution).

Balazs

2011/2/27 er9999 <er9999@126.com>
Hello,
     Can anyone give me an example for fonts rendering? I tried to use FTGL library, but it is too complicated on Windows(compile). Is it possible to do it in a simple way? I need more than the given example in red book(Font.hs), something like outline font. By the way, I am new in OpenGL and Haskell, so the real exmaple should be the best. Thanks! 



_______________________________________________
HOpenGL mailing list
HOpenGL@haskell.org
http://www.haskell.org/mailman/listinfo/hopengl