FontDescription.merge

Merges the fields that are set in desc_to_merge into the fields in desc.

If replace_existing is false, only fields in desc that are not already set are affected. If true, then fields that are already set will be replaced as well.

If desc_to_merge is null, this function performs nothing.

Parameters

descToMerge pango.font_description.FontDescription

the pango.font_description.FontDescription to merge from, or null

replaceExisting bool

if true, replace fields in desc with the corresponding values from desc_to_merge, even if they are already exist.