Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Safe Haskell | Safe-Infered |
Top-level AFM V4.1 font loader.
Use this module to build a font loader if you want to work with
the Adobe metrics sets, but find the simpleFontLoader
in
Wumpus.Basic.System.FontLoader
too inflexible.
- loadAfmFontMetrics :: FilePath -> [FontDef] -> IO FontLoadResult
- loadAfmFont1 :: FilePath -> FontDef -> IO FontLoadResult
Documentation
loadAfmFontMetrics :: FilePath -> [FontDef] -> IO FontLoadResultSource
loadAfmFontMetrics
:
path_to_afm_fonts * [font_name] -> IO FontLoadResult
Load the supplied list of fonts.
Note - if a font fails to load a message is written to the log and monospaced fallback metrics are used.
loadAfmFont1 :: FilePath -> FontDef -> IO FontLoadResultSource
loadAfmFont1
:
path_to_afm_fonts * font_def -> IO FontLoadResult
Load a single AFM font.
Note - if the font fails to load a message is written to the log and monospaced fallback metrics are used.