Safe Haskell | None |
---|---|
Language | Haskell2010 |
JSON font loader for bitmaps and SDFs
Generator: https://evanw.github.io/font-texture-generator/
Usage (WebGL): https://evanw.github.io/font-texture-generator/example-webgl/
Documentation
load :: (MonadIO m, MonadReader env m, HasLogFunc env, HasCallStack) => Source -> m Container Source #
Instances
Instances
putLine :: ("WH" ::: Vec2) -> ("XY" ::: Vec2) -> ("Alignment" ::: Alignment) -> ("Size" ::: Float) -> ("Font" ::: Container) -> ("Line" ::: [Char]) -> ("scale" ::: Float, [PutChar]) Source #
Instances
Show PutChar Source # | |
Storable PutChar Source # | |