The module Font
export basic types and classes concerning
font resources.
- class FontDesignator fh where
- newtype Font = Font String
- data XFont
- xfont :: XFont
- data FontFamily
- data FontWeight
- = NormalWeight
- | Medium
- | Bold
- data FontSlant
- data FontWidth
- = NormalWidth
- | Condensed
- | Narrow
- data FontSpacing
Documentation
class FontDesignator fh whereSource
Datatypes that describe a font instantiate the
class FontDesignator
.
FontDesignator String | An X font string represents a font. |
FontDesignator FontFamily | A |
FontDesignator XFont | An |
FontDesignator Font | A |
FontDesignator (FontFamily, Int) | A tuple of |
FontDesignator (FontFamily, FontSlant, Int) | A tuple of |
FontDesignator (FontFamily, FontWeight, Int) | A tuple of |
The general Font
datatype.
The XFont
datatype - representing the elements of an
X font string.
data FontFamily Source
The FontFamily
datatype.
Read FontFamily | Internal. |
Show FontFamily | Internal. |
GUIValue FontFamily | Internal. |
FontDesignator FontFamily | A |
FontDesignator (FontFamily, Int) | A tuple of |
FontDesignator (FontFamily, FontSlant, Int) | A tuple of |
FontDesignator (FontFamily, FontWeight, Int) | A tuple of |
data FontWeight Source
The FontWeight
datatype.
Read FontWeight | Internal. |
Show FontWeight | Internal. |
GUIValue FontWeight | Internal. |
FontDesignator (FontFamily, FontWeight, Int) | A tuple of |
The FontSlant
datatype.
Read FontSlant | Internal. |
Show FontSlant | Internal. |
GUIValue FontSlant | Internal. |
FontDesignator (FontFamily, FontSlant, Int) | A tuple of |
The FontWidth
datatype.
data FontSpacing Source
The FontSpacing
datatype.
Read FontSpacing | Internal. |
Show FontSpacing | Internal. |
GUIValue FontSpacing | Internal. |