diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-02-13 09:16:14 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-02-13 09:16:14 +0100 |
| commit | eedcacab59d70ab7866983b5567ba98d05250309 (patch) | |
| tree | fcab09f5dc32e486550ca2a9b1eee5a7db1c5c25 /lib/Graphics/Fountainhead/TrueType.hs | |
| parent | ca70d648a924ac5ae2712aacecb5d60e7d4a7847 (diff) | |
| download | fountainhead-eedcacab59d70ab7866983b5567ba98d05250309.tar.gz | |
Get missing width for the font metrics
Diffstat (limited to 'lib/Graphics/Fountainhead/TrueType.hs')
| -rw-r--r-- | lib/Graphics/Fountainhead/TrueType.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Graphics/Fountainhead/TrueType.hs b/lib/Graphics/Fountainhead/TrueType.hs index 03852b5..ec8bb59 100644 --- a/lib/Graphics/Fountainhead/TrueType.hs +++ b/lib/Graphics/Fountainhead/TrueType.hs @@ -276,7 +276,10 @@ data PostHeader = PostHeader , italicAngle :: Fixed32 -- ^ Italic angle in degrees , underlinePosition :: Int16 -- ^ Underline position , underlineThickness :: Int16 -- ^ Underline thickness - , isFixedPitch :: Word32 -- ^ Font is monospaced; set to 1 if the font is monospaced and 0 otherwise (N.B., to maintain compatibility with older versions of the TrueType spec, accept any non-zero value as meaning that the font is monospaced) + -- | Font is monospaced; set to 1 if the font is monospaced and 0 otherwise + -- (N.B., to maintain compatibility with older versions of the TrueType + -- spec, accept any non-zero value as meaning that the font is monospaced) + , isFixedPitch :: Word32 , minMemType42 :: Word32 -- ^ Minimum memory usage when a TrueType font is downloaded as a Type 42 font , maxMemType42 :: Word32 -- ^ Maximum memory usage when a TrueType font is downloaded as a Type 42 font , minMemType1 :: Word32 -- ^ Minimum memory usage when a TrueType font is downloaded as a Type 1 font |
