def filter_faces(font): try: raw = self.get_font_data(font) return supports_text(raw, text) except: pass return False