Pike v8.0 release 1738

Method GTK2.Pango.FontDescription()->better_match()


Method better_match

int better_match(GTK2.Pango.FontDescription new, GTK2.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.