| ||||||||
| ||||||||
| Description | ||||||||
Functions to manage font description.
| ||||||||
| Synopsis | ||||||||
| Documentation | ||||||||
| data FontDescription | ||||||||
| ||||||||
| fontDescriptionNew :: IO FontDescription | ||||||||
Create a new font description.
| ||||||||
| fontDescriptionCopy :: FontDescription -> IO FontDescription | ||||||||
| Make a deep copy of a font description. | ||||||||
| fontDescriptionSetFamily :: FontDescription -> String -> IO () | ||||||||
Set the font famliy.
| ||||||||
| fontDescriptionGetFamily :: FontDescription -> IO (Maybe String) | ||||||||
Get the font family.
| ||||||||
| fontDescriptionSetStyle :: FontDescription -> FontStyle -> IO () | ||||||||
Set the style field.
| ||||||||
| fontDescriptionGetStyle :: FontDescription -> IO (Maybe FontStyle) | ||||||||
| Get the style field. | ||||||||
| fontDescriptionSetVariant :: FontDescription -> Variant -> IO () | ||||||||
| Set the variant field. | ||||||||
| fontDescriptionGetVariant :: FontDescription -> IO (Maybe Variant) | ||||||||
| Get the variant field. | ||||||||
| fontDescriptionSetWeight :: FontDescription -> Weight -> IO () | ||||||||
| Set the weight field. | ||||||||
| fontDescriptionGetWeight :: FontDescription -> IO (Maybe Weight) | ||||||||
| Get the weight field. | ||||||||
| fontDescriptionSetStretch :: FontDescription -> Stretch -> IO () | ||||||||
| Set the stretch field. | ||||||||
| fontDescriptionGetStretch :: FontDescription -> IO (Maybe Stretch) | ||||||||
| Get the stretch field. | ||||||||
| fontDescriptionSetSize :: FontDescription -> Rational -> IO () | ||||||||
Set the size field.
| ||||||||
| fontDescriptionGetSize :: FontDescription -> IO (Maybe Rational) | ||||||||
| Get the size field. | ||||||||
| fontDescriptionUnsetFields :: FontDescription -> [FontMask] -> IO () | ||||||||
| Reset fields in a font description. | ||||||||
| fontDescriptionMerge :: FontDescription -> FontDescription -> Bool -> IO () | ||||||||
Merge two font descriptions.
| ||||||||
| fontDescriptionBetterMatch :: FontDescription -> FontDescription -> FontDescription -> Bool | ||||||||
Determine which of two descriptions matches a given description better. | ||||||||
| fontDescriptionFromString :: String -> IO FontDescription | ||||||||
Create a font description from a string.
| ||||||||
| fontDescriptionToString :: FontDescription -> IO String | ||||||||
Convert a font description to a string.
| ||||||||
| Produced by Haddock version 0.7 |