Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
GhostScript Font map.
GhostScript aliases the Core 14 PostScript fonts to fonts it can freely distribute. This module provides aliases to Wumpus so the font loader can find the equivalent GhostScript files to the Core 14 set.
The data in this file matches GhostScript 8.63. Other versions of GhostScript may need different aliases.
- ghostscript_version :: String
- type GSFontMap = Map String (String, FilePath)
- gsMetricsFile :: GSFontMap -> String -> Maybe FilePath
- gsFontAlias :: GSFontMap -> String -> Maybe String
- core14_alias_table :: GSFontMap
Documentation
ghostscript_version :: StringSource
GhostScript version that the aliases were derived from.
gsMetricsFile :: GSFontMap -> String -> Maybe FilePathSource
Get the .afm
metrics file.
Note this return only the file name and not the path to it. The full path must be resolved in client code.
core14_alias_table :: GSFontMapSource
Map from PostScript font name to the corresponding GhostScript name and file.