PgFontDescription.copyStatic

Like pango_font_description_copy(), but only a shallow copy is made of the family name and other allocated fields. The result can only be used until @desc is modified or freed. This is meant to be used when the copy is only needed temporarily.

class PgFontDescription
copyStatic
()

Return Value

the newly allocated #PangoFontDescription, which should be freed with pango_font_description_free(), or %NULL if @desc was %NULL.

Meta