Hello,
Do you know where I can find some example code for this library? I mean how I can render the loaded font? If possible, could you give me an example how to render outline font or texture font? I cannot even find any examples in Haskell. Thanks!
-- Yu
At 2011-02-27,"Balazs Komuves" wrote:
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
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