summaryrefslogtreecommitdiff
path: root/lib/Graphics/Fountainhead/TrueType.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-02-13 09:16:14 +0100
committerEugen Wissner <belka@caraus.de>2024-02-13 09:16:14 +0100
commiteedcacab59d70ab7866983b5567ba98d05250309 (patch)
treefcab09f5dc32e486550ca2a9b1eee5a7db1c5c25 /lib/Graphics/Fountainhead/TrueType.hs
parentca70d648a924ac5ae2712aacecb5d60e7d4a7847 (diff)
downloadfountainhead-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.hs5
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