FontDescription.mergeStatic
void mergeStatic(pango.font_description.FontDescription descToMerge, bool replaceExisting)Merges the fields that are set in desc_to_merge into the fields in desc, without copying allocated fields.
This is like [pango.font_description.FontDescription.merge], but only a shallow copy is made of the family name and other allocated fields. desc can only be used until desc_to_merge is modified or freed. This is meant to be used when the merged font description is only needed temporarily.
Parameters
descToMerge | the [pango.font_description.FontDescription] to merge from |
replaceExisting | if true, replace fields in desc with the corresponding values from desc_to_merge, even if they are already exist. |