| Portability | GHC |
|---|---|
| Stability | highly unstable |
| Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Wumpus.Basic.Text.LRText
Description
LRText monad - left-to-right text, with kerning.
Note - because Wumpus has no access to the metrics data inside a font file, the default spacing is not good and it is expected that kerning will need to be added per-letter for variable width fonts.
This module makes precise text spacing *possible* - it does not make it *easy*.
Documentation
runTextM :: (Num u, FromPtSize u, DrawingCtxM m, u ~ MonUnit m) => TextM u a -> m (a, LocGraphic u)Source
execTextM :: (Num u, FromPtSize u, DrawingCtxM m, u ~ MonUnit m) => TextM u a -> m (LocGraphic u)Source