Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Font loader / import shim for GhostScript glyph metrics.
Use this loader if you have GhostScript installed and you want to use the (AFM v2.0) metrics that are distributed with GhostScript.
- loadGSMetrics :: FilePath -> [FontName] -> IO (GlyphMetrics, [String])
Documentation
loadGSMetrics :: FilePath -> [FontName] -> IO (GlyphMetrics, [String])Source
loadGSMetrics
:
path_to_gs_fonts * [font_name] -> IO (metrics, messages)
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.