uni-htk-2.2.1.2: Graphical User Interface for Haskell Programs

Safe HaskellNone
LanguageHaskell98

HTk.Kernel.Font

Description

The module Font export basic types and classes concerning font resources.

Synopsis

Documentation

class FontDesignator fh where Source

Datatypes that describe a font instantiate the class FontDesignator.

Methods

toFont :: fh -> Font Source

Instances

FontDesignator String

An X font string represents a font.

FontDesignator FontFamily

A FontFamily object describes a font (default values set for other parameters).

FontDesignator XFont

An XFont object (see type) represents a font.

FontDesignator Font

A Font object itself represents a font.

FontDesignator (FontFamily, Int)

A tuple of (FontFamily,Int) describes a font with its font family and points.

FontDesignator (FontFamily, FontSlant, Int)

A tuple of (FontFamily,FontSlant,Int) describes a font with its font family, font slant and points.

FontDesignator (FontFamily, FontWeight, Int)

A tuple of (FontFamily,FontWeight,Int) describes a font with its font family, font weight and points.

newtype Font Source

The general Font datatype.

Constructors

Font String 

Instances

Read Font

Internal.

Show Font

Internal.

GUIValue Font

Internal.

FontDesignator Font

A Font object itself represents a font.

data XFont Source

The XFont datatype - representing the elements of an X font string.

Instances

Read XFont

Internal.

Show XFont

Internal.

GUIValue XFont

Internal.

FontDesignator XFont

An XFont object (see type) represents a font.

xfont :: XFont Source

Standard font.

data FontFamily Source

The FontFamily datatype.

Instances

Read FontFamily

Internal.

Show FontFamily

Internal.

GUIValue FontFamily

Internal.

FontDesignator FontFamily

A FontFamily object describes a font (default values set for other parameters).

FontDesignator (FontFamily, Int)

A tuple of (FontFamily,Int) describes a font with its font family and points.

FontDesignator (FontFamily, FontSlant, Int)

A tuple of (FontFamily,FontSlant,Int) describes a font with its font family, font slant and points.

FontDesignator (FontFamily, FontWeight, Int)

A tuple of (FontFamily,FontWeight,Int) describes a font with its font family, font weight and points.

data FontWeight Source

The FontWeight datatype.

Constructors

NormalWeight 
Medium 
Bold 

Instances

Read FontWeight

Internal.

Show FontWeight

Internal.

GUIValue FontWeight

Internal.

FontDesignator (FontFamily, FontWeight, Int)

A tuple of (FontFamily,FontWeight,Int) describes a font with its font family, font weight and points.

data FontSlant Source

The FontSlant datatype.

Constructors

Roman 
Italic 
Oblique 

Instances

Read FontSlant

Internal.

Show FontSlant

Internal.

GUIValue FontSlant

Internal.

FontDesignator (FontFamily, FontSlant, Int)

A tuple of (FontFamily,FontSlant,Int) describes a font with its font family, font slant and points.

data FontWidth Source

The FontWidth datatype.

Constructors

NormalWidth 
Condensed 
Narrow 

Instances

Read FontWidth

Internal.

Show FontWidth

Internal.

GUIValue FontWidth

Internal.

data FontSpacing Source

The FontSpacing datatype.

Constructors

MonoSpace 
Proportional 

Instances