PgFontDescription.mergeStatic

Like pango_font_description_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.

class PgFontDescription
void
mergeStatic

Parameters

descToMerge PgFontDescription

the #PangoFontDescription to merge from

replaceExisting bool

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

Meta