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

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

Wumpus.Basic.System.FontLoader.GhostScript

Description

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.

Synopsis

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.