Method Pango.FontDescription()->better_match()
- Method
better_match
intbetter_match(Pango.FontDescriptionnew,Pango.FontDescriptionold)- 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.