HPDF-1.5.0: Generation of PDF documents

Copyright(c) 2006-2016 alpheccar.org
LicenseBSD-style
Maintainermisc@NOSPAMalpheccar.org
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.PDF.Fonts.StandardFont

Description

PDF Font

Documentation

class IsFont f Source #

Instances
IsFont AnyFont Source # 
Instance details

Defined in Graphics.PDF.Fonts.Font

Methods

name :: AnyFont -> String Source #

getDescent :: AnyFont -> FontSize -> PDFFloat Source #

getHeight :: AnyFont -> FontSize -> PDFFloat Source #

getKern :: AnyFont -> FontSize -> GlyphCode -> GlyphCode -> PDFFloat Source #

glyphWidth :: AnyFont -> FontSize -> GlyphCode -> PDFFloat Source #

hyphenGlyph :: AnyFont -> Maybe GlyphCode Source #

spaceGlyph :: AnyFont -> GlyphCode Source #

charGlyph :: AnyFont -> Char -> GlyphCode Source #

IsFont Type1Font Source # 
Instance details

Defined in Graphics.PDF.Fonts.Type1

IsFont StdFont Source # 
Instance details

Defined in Graphics.PDF.Fonts.StandardFont

Methods

name :: StdFont -> String Source #

getDescent :: StdFont -> FontSize -> PDFFloat Source #

getHeight :: StdFont -> FontSize -> PDFFloat Source #

getKern :: StdFont -> FontSize -> GlyphCode -> GlyphCode -> PDFFloat Source #

glyphWidth :: StdFont -> FontSize -> GlyphCode -> PDFFloat Source #

hyphenGlyph :: StdFont -> Maybe GlyphCode Source #

spaceGlyph :: StdFont -> GlyphCode Source #

charGlyph :: StdFont -> Char -> GlyphCode Source #

data GlyphSize Source #

Instances
Enum GlyphSize Source # 
Instance details

Defined in Graphics.PDF.Fonts.FontTypes

Eq GlyphSize Source # 
Instance details

Defined in Graphics.PDF.Fonts.FontTypes

Integral GlyphSize Source # 
Instance details

Defined in Graphics.PDF.Fonts.FontTypes

Num GlyphSize Source # 
Instance details

Defined in Graphics.PDF.Fonts.FontTypes

Ord GlyphSize Source # 
Instance details

Defined in Graphics.PDF.Fonts.FontTypes

Real GlyphSize Source # 
Instance details

Defined in Graphics.PDF.Fonts.FontTypes

data StdFont Source #

Constructors

StdFont FontStructure 
Instances
IsFont StdFont Source # 
Instance details

Defined in Graphics.PDF.Fonts.StandardFont

Methods

name :: StdFont -> String Source #

getDescent :: StdFont -> FontSize -> PDFFloat Source #

getHeight :: StdFont -> FontSize -> PDFFloat Source #

getKern :: StdFont -> FontSize -> GlyphCode -> GlyphCode -> PDFFloat Source #

glyphWidth :: StdFont -> FontSize -> GlyphCode -> PDFFloat Source #

hyphenGlyph :: StdFont -> Maybe GlyphCode Source #

spaceGlyph :: StdFont -> GlyphCode Source #

charGlyph :: StdFont -> Char -> GlyphCode Source #