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]

Downloads

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

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2.0.0, 0.2.0.1
Change log ChangeLog.md
Dependencies base (>=4.12 && <4.16), 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 & others
Author Schell Scivally & Adrian Cochrane
Maintainer alcinnz@argonaut-constellation.org
Revised Revision 2 made by alcinnz at 2023-02-05T08:20:39Z
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-02T22:07:36Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables typograffiti
Downloads 1969 total (14 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-02 [all 1 reports]

Readme for typograffiti-0.2.0.0

[back to package description]

Typograffiti

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.

requirements

  • opengl 3.x
  • freetype 2.x
  • harfbuzz 3.3+

The demo program additionally requires SDL2.