Object
Font objects represent a particular font in a particular size.
The following font classes may be used without further instantiation:
Font::Tiny Font::Small Font::MediumBold Font::Large Font::Giant
To use a TrueType font, first instantiate the font at a particular size:
font = Font::TrueType[fontname, ptsize]
Here fontname may be a path to a TrueType font, or a fontconfig pattern if fontconfig support is enabled (see Font::TrueType.fontconfig).
See Font::TrueType.new for further options.
Generated with the Darkfish Rdoc Generator 2.