copyStatic
Make a copy of a PangoFontDescription
, but don't duplicate allocated fields.
This is like method@Pango.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.
Return
the newly allocated PangoFontDescription
, which should be freed with method@Pango.FontDescription.free, or null if @desc was null.