The Pango.Font_Face.Pango_Font_Face structure is used to represent a group of fonts with the same family, slant, weight, width, but varying sizes.
function Describe
(Self : not null access Pango_Font_Face_Record)
return Pango.Font.Pango_Font_Description
Returns the family, style, variant, weight and stretch of a Pango.Font_Face.Pango_Font_Face. The size field of the resulting font description will be unset.
a newly-created Pango.Font.Pango_Font_Description structure holding the description of the face. Use pango_font_description_free to free the result.
function Get_Face_Name
(Self : not null access Pango_Font_Face_Record) return UTF8_String
Gets a name representing the style of this face among the different faces in the Pango.Font_Family.Pango_Font_Family for the face. This name is unique among all faces in the family and is suitable for displaying to users.
the face name for the face. This string is owned by the face object and must not be modified or freed.
function Get_Type return Glib.GType
function Is_Synthesized
(Self : not null access Pango_Font_Face_Record) return Boolean
Returns whether a Pango.Font_Face.Pango_Font_Face is synthesized by the underlying font rendering engine from another face, perhaps by shearing, emboldening, or lightening it. Since: gtk+ 1.18
whether Face is synthesized.
function List_Sizes
(Self : not null access Pango_Font_Face_Record) return Gint_Array
List the available sizes for a font. This is only applicable to bitmap fonts. For scalable fonts, stores null 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. Since: gtk+ 1.4
type Pango_Font_Face is access all Pango_Font_Face_Record'Class;
type Pango_Font_Face_Array is array (Natural range <>) of Pango_Font_Face;
type Pango_Font_Face_Record is new GObject_Record with null record;