minilight-0.4.2: A SDL2-based graphics library, batteries-included.

Safe HaskellNone
LanguageHaskell2010

Data.Config.Font

Synopsis

Documentation

loadFontFrom :: Config -> MiniLight Font Source #

Load a system font from Config type.

textFrom :: Config -> Text -> MiniLight Figure Source #

Create a text texture from the config. **NB** This function is a slow operation since it loads the font data every time.