~alcinnz/fontconfig-pure

0b9da369672466ffde9132fc5045279038b5d802 — Adrian Cochrane 2 years ago b712c91
Parse font-variation-settings property for @font-face.
1 files changed, 4 insertions(+), 0 deletions(-)

M Graphics/Text/Font/Choose/FontSet.hs
M Graphics/Text/Font/Choose/FontSet.hs => Graphics/Text/Font/Choose/FontSet.hs +4 -0
@@ 93,6 93,10 @@ properties2font (("font-feature-settings", toks):props)
        setValue "fontfeatures" Strong (intercalate "," $ map fst features) $
            properties2font props

properties2font (("font-variation-settings", toks):props)
    | (_, True, []) <- parseFontVars toks =
        setValue "variable" Strong True $ properties2font props

properties2font (_:props) = properties2font props
properties2font [] = []