PgFontDescription.equal

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.)

class PgFontDescription
bool
equal

Parameters

desc2 PgFontDescription

another #PangoFontDescription

Return Value

Type: bool

%TRUE if the two font descriptions are identical, %FALSE otherwise.

Meta