-
Notifications
You must be signed in to change notification settings - Fork 2
/
typograffiti.cabal
54 lines (48 loc) · 2.21 KB
/
typograffiti.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
cabal-version: 1.12
name: typograffiti
version: 0.2.0.1
synopsis: Just let me draw nice text already
description: 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.
category: Graphics
homepage: https://github.com/schell/typograffiti#readme
bug-reports: https://github.com/schell/typograffiti/issues
author: Schell Scivally & Adrian Cochrane
maintainer: alcinnz@argonaut-constellation.org
copyright: 2018 Schell Scivally, 2023 Adrian Cochrane
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/schell/typograffiti
library
exposed-modules:
Typograffiti
Typograffiti.Atlas
Typograffiti.Cache
Typograffiti.GL
Typograffiti.Store
Typograffiti.Text
Typograffiti.Rich
build-depends: base >=4.12 && <5, linear>=1.20, containers >= 0.6,
freetype2 >= 0.2, gl >= 0.8, mtl >= 2.2, stm >= 2.5, text,
vector >= 0.12, harfbuzz-pure >= 1.0.2, bytestring >= 0.10
hs-source-dirs: src
default-language: Haskell2010
executable typograffiti
main-is: Main.hs
build-depends: base >=4.12 && <5, typograffiti, sdl2 >= 2.5.4, text, gl, mtl
hs-source-dirs: app
default-language: Haskell2010
executable draw-shaped
main-is: Shaped.hs
build-depends: base >=4.12 && <5, typograffiti, sdl2 >= 2.5.4,
text, gl, mtl, containers, harfbuzz-pure, freetype2
hs-source-dirs: app
default-language: Haskell2010