From 39d01d5e1234b3c45f0899c1d9b3f18c6e9ea043 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Wed, 25 Jan 2023 17:18:03 +1300 Subject: [PATCH] Expose richtext builder API. --- src/Typograffiti.hs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Typograffiti.hs b/src/Typograffiti.hs index 0143abf..75ba32e 100644 --- a/src/Typograffiti.hs +++ b/src/Typograffiti.hs @@ -13,6 +13,16 @@ module Typograffiti( SpatialTransform(..), TextTransform(..), move, scale, rotate, color, alpha, withFontStore, newFontStore, FontStore(..), Font(..), SampleText (..), defaultSample, addSampleFeature, + RichText (..), str, txt, ($$), style, apply, on, off, alternate, + alt, case_, centerCJKPunct, capSpace, ctxtSwash, petiteCaps', smallCaps', + expertJ, finGlyph, fract, fullWidth, hist, hkana, hlig, hojo, halfWidth, + italic, justifyAlt, jap78, jap83, jap90, jap04, kerning, lBounds, liningFig, + localized, mathGreek, altAnnotation, nlcKanji, oldFig, ordinals, ornament, + propAltWidth, petiteCaps, propKana, propFig, propWidth, quarterWidth, + rBounds, ruby, styleAlt, sciInferior, smallCaps, simpleCJ, subscript, + superscript, swash, titling, traditionNameJ, tabularFig, traditionCJ, + thirdWidth, unicase, vAlt, vert, vHalfAlt, vKanaAlt, vKerning, vPropAlt, + vRotAlt, vrot, slash0, altFrac, ctxtAlt, ctxtLig, optLigs, lig, rand, makeDrawTextCached, makeDrawText ) where @@ -20,3 +30,4 @@ import Typograffiti.Atlas import Typograffiti.Cache import Typograffiti.Store import Typograffiti.Text +import Typograffiti.Rich -- 2.30.2