Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provide internal access to many structure, not exported by default. The stability of this module is absolutely not insured.
- data Font = Font {
- _fontOffsetTable :: !OffsetTable
- _fontTables :: ![(ByteString, ByteString)]
- _fontNames :: Maybe NameTable
- _fontHeader :: Maybe FontHeader
- _fontMaxp :: Maybe MaxpTable
- _fontMap :: Maybe CharacterMaps
- _fontGlyph :: Maybe (Vector Glyph)
- _fontLoca :: Maybe (Vector Word32)
- _fontHorizontalHeader :: Maybe HorizontalHeader
- _fontHorizontalMetrics :: Maybe HorizontalMetricsTable
- data FontHeader = FontHeader {
- _fHdrVersionNumber :: !Fixed
- _fHdrFontRevision :: !Fixed
- _fHdrChecksumAdjust :: !Word32
- _fHdrMagicNumber :: !Word32
- _fHdrFlags :: !HeaderFlags
- _fUnitsPerEm :: !Word16
- _fHdrCreateTime :: !Word64
- _fHdrModificationTime :: !Word64
- _fHdrxMin :: !FWord
- _fHdrYMin :: !FWord
- _fHdrXMax :: !FWord
- _fHdrYMax :: !FWord
- _fHdrMacStyle :: !FontStyle
- _fHdrLowestRecPPEM :: !Word16
- _fHdrFontDirectionHint :: !Int16
- _fHdrIndexToLocFormat :: !Int16
- _fHdrGlyphDataFormat :: !Int16
- data HeaderFlags = HeaderFlags {}
- data HorizontalHeader = HorizontalHeader {
- _hheaAscent :: !FWord
- _hheaDescent :: !FWord
- _hheaLineGap :: !FWord
- _hheaAdvanceWidthMax :: !FWord
- _hheaMinLeftSideBearing :: !FWord
- _hheaMinRightSideBearing :: !FWord
- _hheaXmaxExtent :: !FWord
- _hheaCaretSlopeRise :: !Int16
- _hheaCaretSlopeRun :: !Int16
- _hheaCaretOffset :: !FWord
- _hheaMetricDataFormat :: !Int16
- _hheaLongHorMetricCount :: !Word16
- data HorizontalMetric = HorizontalMetric {}
- data HorizontalMetricsTable = HorizontalMetricsTable {}
- data MaxpTable = MaxpTable {
- _maxpTableVersion :: !Fixed
- _maxpnumGlyphs :: !Word16
- _maxpmaxPoints :: !Word16
- _maxpmaxContours :: !Word16
- _maxpmaxCompositePoints :: !Word16
- _maxpmaxCompositeContours :: !Word16
- _maxpmaxZones :: !Word16
- _maxpmaxTwilightPoints :: !Word16
- _maxpmaxStorage :: !Word16
- _maxpmaxFunctionDefs :: !Word16
- _maxpmaxInstructionDefs :: !Word16
- _maxpmaxStackElements :: !Word16
- _maxpmaxSizeOfInstructions :: !Word16
- _maxpmaxComponentElements :: !Word16
- _maxpmaxComponentDepth :: !Word16
- newtype FWord = FWord Word16
- data Fixed = Fixed Word16 Word16
Documentation
Type representing a font.
Font | |
|
data FontHeader Source #
Font header
FontHeader | |
|
data HeaderFlags Source #
Header flags.
HeaderFlags | |
|
data HorizontalHeader Source #
Describe the "hhea" TrueType table.
HorizontalHeader | |
|
data HorizontalMetric Source #
Information of horizontal advance.
data HorizontalMetricsTable Source #
For every glyph (indexed by the glyph index), provide horizontal information.
MaxpTable | |
|