FontDescription.copyStatic

Make a copy of a pango.font_description.FontDescription, but don't duplicate allocated fields.

This is like pango.font_description.FontDescription.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 FontDescription
copyStatic
()

Return Value

Type: pango.font_description.FontDescription

the newly allocated pango.font_description.FontDescription, which should be freed with pango.font_description.FontDescription.free, or null if desc was null.