| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
GTK2
GTK2.Pango.FontDescription

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