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

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

Wumpus.Basic.System.FontLoader.Afm

Description

Font loader / import shim for the Adobe "Core 14" glyph metrics.

Use this loader if you have the Adode glyph metrics set (AFM v4.1). This metrics set is avaiable from the Adobe website.

Synopsis

Documentation

loadAfmMetrics :: FilePath -> [FontName] -> IO (GlyphMetrics, [String])Source

loadAfmMetrics : path_to_afm_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.