Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Infrastructure for parsing & desugaring CSS properties related to fonts.
Documentation
A Harfbuzz font with sizing parameters.
Font' | |
|
placeholderFont :: Font' Source #
zero'd Font
` to serve as the root's parent in a font heirarchy.
pattern2hbfont :: Pattern -> Int -> [Variation] -> Font Source #
Convert from FontConfig query result to a Harfbuzz font.
Parsed CSS font properties, excluding the FontConfig query.
CSSFont | |
|
Instances
PropertyParser CSSFont Source # | |
Defined in Graphics.Layout.CSS.Font inherit :: CSSFont -> CSSFont Source # priority :: CSSFont -> [Text] Source # shorthand :: CSSFont -> Text -> [Token] -> [(Text, [Token])] Source # longhand :: CSSFont -> CSSFont -> Text -> [Token] -> Maybe CSSFont Source # getVars :: CSSFont -> Props Source # setVars :: Props -> CSSFont -> CSSFont Source # pseudoEl :: CSSFont -> Text -> (CSSFont -> Maybe CSSFont -> CSSFont) -> CSSFont Source # |