View Single Post
Old 04-14-2019, 10:48 AM   #35
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,060
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Sigil v. 0.9.13, css_from_fonts v. 0.1.3 phthon v. 3.4.
The plugin worked all right until now, but recent- and steadily I receive this message:
Code:
Status: failed

Traceback (most recent call last):
  File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 135, in launch
    self.exitcode = target_script.run(container)
  File "C:\Users\Jürgen\AppData\Local\sigil-ebook\sigil\plugins\CSSFromFonts\plugin.py", line 16, in run
    font_object = ImageFont.truetype(font_path)
  File "site-packages\PIL\ImageFont.py", line 280, in truetype
  File "site-packages\PIL\ImageFont.py", line 145, in __init__
OSError: cannot open resource
Error: cannot open resource
No idea what it is. Might someone help, please?
Edit: Inserting @font-face manually works.

Last edited by Leonatus; 04-14-2019 at 10:58 AM.
Leonatus is offline   Reply With Quote