新規作成  編集  Ruby-GNOME2 Project Website  ページ一覧  検索  更新履歴  編集履歴  RSS  ログイン

Pango::FontFace

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

name
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.
sizes
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.
describe
Returns the family, style, variant, weight and stretch of a Pango::FontFace. The size field of the resulting font description will be unset.

ChangeLog

  • 2005-10-13 Added. - Masao?
更新日時:2005/11/17 02:43:42
キーワード:
参照:[Ruby/Pango] [Pango::FontFamily] [Pango::FontFace]