Package: pango

Function pango-font-description-equal

Lambda List

pango-font-description-equal (desc1 desc2)

Arguments

desc1 -- a pango-font-description instance
desc2 -- another pango-font-description instance

Return Value

True if the two font descriptions are identical, false otherwise.

Details

Compares two font descriptions for equality. Two font descriptions are considered equal if the fonts they describe are provably identical. This means that their masks do not have to match, as long as other fields are all the same. Two font descriptions may result in identical fonts being loaded, but still compare false.
 

See also

2021-1-7