fontconfig-pure-0.5.0.0: Resolves font descriptions to font libraries, including ones installed on your freedesktop (Linux or BSD system).
Safe HaskellNone
LanguageHaskell2010

Graphics.Text.Font.Choose.FontSet

Description

A set of fonts to query, or resulting from a query.

Synopsis

Documentation

type FontSet = [Pattern] Source #

holds a list of patterns; these are used to return the results of listing available fonts.

validFontSet :: FontSet -> Bool Source #

Can the FontSet be processed by FontConfig?

fontSetList :: Config -> [FontSet] -> Pattern -> ObjectSet -> FontSet Source #

holds a list of patterns; these are used to return the results of listing available fonts. If the fontset is invalid,

fontSetMatch :: Config -> [FontSet] -> Pattern -> Maybe FontSet Source #

Finds the font in sets most closely matching pattern and returns the result of fontRenderPrepare for that font and the provided pattern.

fontSetSort :: Config -> [FontSet] -> Pattern -> Bool -> (Maybe FontSet, CharSet') Source #

Returns the list of fonts from sets sorted by closeness to pattern. If True is passed, elements in the list which don't include Unicode coverage not provided by earlier elements in the list are elided. The union of Unicode coverage of all of the fonts is returned alongside the fontset.

data FontFaceParser a Source #

StyleSheet wrapper to parse @font-face rules.

Constructors

FontFaceParser 

Fields