typograffiti: Just let me draw nice text already

[ bsd3, graphics, library, program ] [ Propose Tags ]

This is a text rendering library that uses OpenGL and freetype2 to render TTF font strings quickly. It is fast enough to render large chunks of text in real time. This library exists because text rendering is one of the biggest hurdles in Haskell graphics programming - and it shouldn't be! Typograffiti includes an MTL style typeclass and a default monad transformer. It does not assume you are using any specific windowing solution. It does assume you are using OpenGL 3.3+. Pull requests are very welcome :) See https://github.com/schell/typograffiti/blob/master/app/Main.hs for an example.

[Skip to Readme]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,
Change log ChangeLog.md
Dependencies base (>=4.12 && <5), bytestring (>=0.10), containers (>=0.6), freetype2 (>=0.2), gl (>=0.8), harfbuzz-pure (>=1.0.2), linear (>=1.20), mtl (>=2.2), sdl2 (>=2.5.4), stm (>=2.5), text, typograffiti, vector (>=0.12) [details]
License BSD-3-Clause
Copyright 2018 Schell Scivally, 2023 Adrian Cochrane
Author Schell Scivally & Adrian Cochrane
Maintainer alcinnz@argonaut-constellation.org
Revised Revision 1 made by alcinnz at 2023-10-23T23:36:34Z
Category Graphics
Home page https://github.com/schell/typograffiti#readme
Bug tracker https://github.com/schell/typograffiti/issues
Source repo head: git clone https://github.com/schell/typograffiti
Uploaded by alcinnz at 2023-02-17T20:51:47Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables typograffiti
Downloads 1969 total (21 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2023-02-17 [all 2 reports]

Readme for typograffiti-

[back to package description]


GitHub Hackage Mirror alt issue tracker Typograffiti aims to make working with text across a broad range of written languages in multimedia applications easy. Whilst exposing low-level APIs for use by fancier text layout/rendering engines.

Typograffiti is part of The Argonaut Stack browser engine.


  • opengl 3.x
  • freetype 2.x
  • harfbuzz 3.3+
  • LibC++ (for Text dependency)

The demo program additionally requires SDL2.