Copyright | (c) 2006-2016 alpheccar.org |
---|---|
License | BSD-style |
Maintainer | misc@NOSPAMalpheccar.org |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Graphics.PDF.Fonts.Type1
Description
PDF Font
Documentation
Minimal complete definition
name, getDescent, getHeight, getKern, glyphWidth, hyphenGlyph, spaceGlyph, charGlyph
Instances
Instances
Enum GlyphSize Source # | |
Defined in Graphics.PDF.Fonts.FontTypes Methods succ :: GlyphSize -> GlyphSize # pred :: GlyphSize -> GlyphSize # fromEnum :: GlyphSize -> Int # enumFrom :: GlyphSize -> [GlyphSize] # enumFromThen :: GlyphSize -> GlyphSize -> [GlyphSize] # enumFromTo :: GlyphSize -> GlyphSize -> [GlyphSize] # enumFromThenTo :: GlyphSize -> GlyphSize -> GlyphSize -> [GlyphSize] # | |
Num GlyphSize Source # | |
Defined in Graphics.PDF.Fonts.FontTypes | |
Integral GlyphSize Source # | |
Defined in Graphics.PDF.Fonts.FontTypes Methods quot :: GlyphSize -> GlyphSize -> GlyphSize # rem :: GlyphSize -> GlyphSize -> GlyphSize # div :: GlyphSize -> GlyphSize -> GlyphSize # mod :: GlyphSize -> GlyphSize -> GlyphSize # quotRem :: GlyphSize -> GlyphSize -> (GlyphSize, GlyphSize) # divMod :: GlyphSize -> GlyphSize -> (GlyphSize, GlyphSize) # | |
Real GlyphSize Source # | |
Defined in Graphics.PDF.Fonts.FontTypes Methods toRational :: GlyphSize -> Rational # | |
Show GlyphSize Source # | |
Eq GlyphSize Source # | |
Ord GlyphSize Source # | |
Constructors
Type1Font FontStructure (PDFReference EmbeddedFont) |
Instances
IsFont Type1Font Source # | |
Defined in Graphics.PDF.Fonts.Type1 Methods name :: Type1Font -> String Source # getDescent :: Type1Font -> FontSize -> PDFFloat Source # getHeight :: Type1Font -> FontSize -> PDFFloat Source # getKern :: Type1Font -> FontSize -> GlyphCode -> GlyphCode -> PDFFloat Source # glyphWidth :: Type1Font -> FontSize -> GlyphCode -> PDFFloat Source # hyphenGlyph :: Type1Font -> Maybe GlyphCode Source # spaceGlyph :: Type1Font -> GlyphCode Source # | |
Show Type1Font Source # | |
data Type1FontStructure Source #
Constructors
Type1FontStructure FontData FontStructure |
readAfmData :: FilePath -> IO (Either ParseError AFMData) Source #