This commit is contained in:
Kovid Goyal 2016-11-15 12:13:29 +05:30
parent 2d812445ea
commit 57476aa5cb

View File

@ -128,6 +128,9 @@ class AllFonts(QAbstractTableModel):
if role == Qt.UserRole: if role == Qt.UserRole:
try: try:
return font_scanner.fonts_for_family(name) return font_scanner.fonts_for_family(name)
except NoFonts:
try:
return font_scanner.alt_fonts_for_family(name)
except NoFonts: except NoFonts:
return [] return []
else: else: