Name
pfontdesc:Equal -- compare font descriptions for equality
Synopsis
ok = pfontdesc:Equal(desc2)
Function
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.)

This function returns True if the two font descriptions are identical, False otherwise.

Inputs
desc2
another Pango font description object
Results
ok
True if the two font descriptions are identical, otherwise False

Show TOC