M src/Typograffiti.hs => src/Typograffiti.hs +4 -3
@@ 1,11 1,12 @@
-- |
-- Module: Typograffiti
--- Copyright: (c) 2018 Schell Scivally
+-- Copyright: (c) 2018 Schell Scivally, 2023 Adrian Cochrane
-- License: MIT
-- Maintainer: Schell Scivally <schell@takt.com>
+-- & Adrian Cochrane <alcinnz@argonaut-constellation.org>
--
--- This module provides easy freetype2-based font rendering with a nice
--- Haskell interface.
+-- This module provides easy freetype2 & Harfbuzz based font rendering with a
+-- nice Haskell interface, whilst exposing low-level APIs for those who need it.
module Typograffiti(
TypograffitiError(..),
allocAtlas, freeAtlas, stringTris, Atlas(..), GlyphMetrics(..),
M src/Typograffiti/Atlas.hs => src/Typograffiti/Atlas.hs +2 -1
@@ 2,9 2,10 @@
{-# LANGUAGE RecordWildCards #-}
-- |
-- Module: Typograffiti.Atlas
--- Copyright: (c) 2018 Schell Scivally
+-- Copyright: (c) 2018 Schell Scivally, 2023 Adrian Cochrane
-- License: MIT
-- Maintainer: Schell Scivally <schell@takt.com>
+-- & Adrian Cochrane <alcinnz@argonaut-constellation.org>
--
-- This module provides a font-character atlas to use in font rendering with
-- opengl.
M src/Typograffiti/Cache.hs => src/Typograffiti/Cache.hs +2 -1
@@ 2,9 2,10 @@
{-# LANGUAGE FlexibleInstances #-}
-- |
-- Module: Typograffiti.Cache
--- Copyright: (c) 2018 Schell Scivally
+-- Copyright: (c) 2018 Schell Scivally, 2023 Adrian Cochrane
-- License: MIT
-- Maintainer: Schell Scivally <schell@takt.com>
+-- & Adrian Cochrane <alcinnz@argonaut-constellation.org>
--
-- This module provides a method of caching rendererd text, making it suitable
-- for interactive rendering. You can use the defaultCache or provide your own.
M src/Typograffiti/Rich.hs => src/Typograffiti/Rich.hs +9 -0
@@ 1,3 1,12 @@
+-- |
+-- Module: Typograffiti.Rich
+-- Copyright: (c) 2023 Adrian Cochrane
+-- License: MIT
+-- Maintainer: Schell Scivally <schell@takt.com>
+-- & Adrian Cochrane <alcinnz@argonaut-constellation.org>
+--
+-- Abstraction for building richtext strings to be rendered via Typograffiti.
+--
module Typograffiti.Rich where
import Data.Text.Lazy (Text, append, pack)
import qualified Data.Text.Lazy as Txt
M src/Typograffiti/Store.hs => src/Typograffiti/Store.hs +2 -1
@@ 7,9 7,10 @@
{-# LANGUAGE StandaloneDeriving #-}
-- |
-- Module: Typograffiti.Monad
--- Copyright: (c) 2018 Schell Scivally
+-- Copyright: (c) 2018 Schell Scivally, 2023 Adrian Cochrane
-- License: MIT
-- Maintainer: Schell Scivally <schell@takt.com>
+-- & Adrian Cochrane <alcinnz@argonaut-constellation.org>
--
-- A storage context an ops for rendering text with multiple fonts
-- and sizes, hiding the details of the Atlas, Cache, and the Harfbuzz library.
M src/Typograffiti/Text.hs => src/Typograffiti/Text.hs +1 -0
@@ 6,6 6,7 @@
-- Copyright: (c) 2018 Schell Scivally
-- License: MIT
-- Maintainer: Schell Scivally <schell@takt.com>
+-- & Adrian Cochrane <alcinnz@argonaut-constellation.org>
--
-- Text rendering abstraction, hiding the details of
-- the Atlas, Cache, and the Harfbuzz library.