Method Pango.FontDescription()->better_match()


Method better_match

int better_match(Pango.FontDescription new, Pango.FontDescription old)

Description

Determines if the style attributes of new are a closer match than old, or if old is omitted, determines if new is a match at all. Approximate matching is done for weight and style; other attributes must match exactly.