Method

PangoFontFacedescribe

Declaration [src]

PangoFontDescription*
pango_font_face_describe (
  PangoFontFace* face
)

Description [src]

Returns the family, style, variant, weight and stretch of a PangoFontFace. The size field of the resulting font description will be unset.

Return value

Returns: PangoFontDescription
 

A newly-created PangoFontDescription structure holding the description of the face. Use pango_font_description_free() to free the result.

 The caller of the method takes ownership of the data, and is responsible for freeing it.