Class: Pango::FontFace
- Inherits:
-
Object
- Object
- Pango::FontFace
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#describe ⇒ Pango::FontDescription
Returns the family, style, variant, weight and stretch of a Pango::FontFace.
-
#face_name ⇒ String
Gets a name representing the style of this face among the different faces in the Pango::FontFamily for the face.
-
#is_synthesized ⇒ TrueClass
Returns whether a Pango::FontFace is synthesized by the underlying font rendering engine from another face, perhaps by shearing, emboldening, or lightening it.
-
#list_sizes(sizes, n_sizes) ⇒ nil
List the available sizes for a font.
Instance Method Details
#describe ⇒ Pango::FontDescription
Returns the family, style, variant, weight and stretch of a Pango::FontFace. The size field of the resulting font description will be unset.
#face_name ⇒ String
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.
#is_synthesized ⇒ TrueClass
Returns whether a Pango::FontFace is synthesized by the underlying font rendering engine from another face, perhaps by shearing, emboldening, or lightening it.
#list_sizes(sizes, n_sizes) ⇒ nil
List the available sizes for a font. This is only applicable to bitmap fonts. For scalable fonts, stores nil at the location pointed to by sizes and 0 at the location pointed to by n_sizes. The sizes returned are in Pango units and are sorted in ascending order.