wumpus-basic-0.18.0: Basic objects and system code built on Wumpus-Core.

PortabilityGHC
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>

Wumpus.Basic.System.FontLoader.GSTopLevel

Description

Top-level GhostScript font loader.

Use this module to build a font loader if you want to work with GhostScript, but find the simpleFontLoader in Wumpus.Basic.System.FontLoader too inflexible.

Synopsis

Documentation

loadGSFontMetrics :: FilePath -> [FontDef] -> IO FontLoadResultSource

loadGSFontMetrics : path_to_gs_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.

loadGSFont1 :: FilePath -> FontDef -> IO FontLoadResultSource

loadGSFont1 : path_to_gs_fonts * font_name -> IO FontLoadResult

Load a single GhostScript font.

Note - if the font fails to load a message is written to the log and monospaced fallback metrics are used.