mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 19:22:40 +02:00
...
This commit is contained in:
parent
373b3c7a22
commit
3db0f1895a
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ def embed_font(self, style):
|
|||
if not ff:
|
||||
return
|
||||
ff = ff[0]
|
||||
if ff in self.warned:
|
||||
if ff in self.warned or ff == 'inherit':
|
||||
return
|
||||
try:
|
||||
fonts = font_scanner.fonts_for_family(ff)
|
||||
|
|
|
|||
Loading…
Reference in a new issue