mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
6b694fe130
commit
f4f6e5655a
@ -167,6 +167,7 @@ class Fonts(object):
|
||||
fonts = font_scanner.alt_fonts_for_family(ff)
|
||||
except NoFonts:
|
||||
return
|
||||
if fonts:
|
||||
font = get_best_font(fonts, css.get('font-style', 'normal'), css.get('font-stretch', 'normal'))
|
||||
if font is not None:
|
||||
rest = ', '.join(css['font-family'].split(',')[1:])
|
||||
|
Loading…
x
Reference in New Issue
Block a user