[Haskell-cafe] Rendering TTF fonts in Haskell and OpenGL

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sun Feb 17 19:20:40 EST 2008


On Feb 17, 2008, at 19:13 , Jefferson Heard wrote:

> In C and in Java, I can use truetype fonts in Haskell using select
> libraries, and I'd like to be able to do the same in Haskell.  Are
> there any portable libraries out there for loading fonts into OpenGL
> geometry for Haskell?  I can use the vector fonts from GLUT is
> absolutely neccessary, but I'd like something that looks a little more
> professional.  Are there any suggestions?

Can't speak to OpenGL per se, but have a look at:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/SDL-ttf-0.4.0
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-xft-0.2

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list