Create  Edit  FrontPage  Index  Search  Changes  History  RSS  Login


class Pango::FontFace

The Pango::FontFace is used to represent a group of fonts with the same family, slant, weight, width, but varying sizes.

Instance Methods

Gets a name representing the style of this face among the different faces in the Pango::FontFamily for the face. This name is unique among all faces in the family and is suitable for displaying to users.
  • Returns: the face name for the face.
Gets the available sizes for a font. This is only applicable to bitmap fonts. The sizes returned are in pango units and are sorted in ascending order. Since 1.4
  • Returns: an Array of int.
Returns the family, style, variant, weight and stretch of a Pango::FontFace. The size field of the resulting font description will be unset.


  • 2005-10-13 Added. - Masao
Last modified:2008/04/10 11:01:33
References:[index-ruby-pango] [api-pango-index] [Pango::FontFamily] [News_20050306_1] [Ruby/Pango] [Pango::FontFace]