code: def list_fonts(self, pattern, max_names):
          
          r = request.ListFonts(display = self.display,
                                max_names = max_names,
                                pattern = pattern)
          return r.fonts
docs: Return a list of font names matching pattern. No more than
          max_names will be returned.