Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Safe Haskell | Safe-Infered |
Common parsers for AFM files.
- afmFileParser :: CharParser AfmGlyphMetrics -> CharParser AfmFile
- runQuery :: String -> CharParser a -> GlobalInfo -> Maybe a
- textQuery :: String -> GlobalInfo -> Maybe String
- getFontBBox :: GlobalInfo -> Maybe AfmBoundingBox
- getEncodingScheme :: GlobalInfo -> Maybe String
- getCapHeight :: GlobalInfo -> Maybe AfmUnit
- charBBox :: CharParser AfmBoundingBox
- metric :: String -> a -> CharParser a -> CharParser a
- keyStringPair :: CharParser (AfmKey, String)
- versionNumber :: CharParser String
- startCharMetrics :: CharParser Int
- keyName :: CharParser AfmKey
- newlineOrEOF :: CharParser ()
- name :: CharParser String
- name1 :: CharParser String
- semi :: CharParser Char
- uptoNewline :: CharParser String
- number :: CharParser AfmUnit
- cint :: CharParser Int
- hexInt :: CharParser Int
- octInt :: CharParser Int
- lexeme :: CharParser a -> CharParser a
- symbol :: String -> CharParser String
- integer :: CharParser Integer
- int :: CharParser Int
- double :: CharParser Double
Documentation
runQuery :: String -> CharParser a -> GlobalInfo -> Maybe aSource
getFontBBox :: GlobalInfo -> Maybe AfmBoundingBoxSource
Strictly speaking a fontBBox is measured in integer units.
metric :: String -> a -> CharParser a -> CharParser aSource
lexeme :: CharParser a -> CharParser aSource
symbol :: String -> CharParser StringSource