View Single Post
Old 05-05-2021, 03:35 PM   #1
edgargal
Member
edgargal began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Mar 2021
Device: none
Embed font family Ebook conversion from content server

Why calibre content server doesn't find the fonts installed?

Version: calibre-server (calibre 5.14)

Steps to reproduce:
1. SSH into machine and install font with
Code:
sudo apt install fonts-open-sans
2. In calibre content server with web browser > Book > Convert this book to another format > Look & feel > Embed font family: open-sans

Code:
Traceback (most recent call last):
  File "calibre/utils/fonts/scanner.py", line 225, in fonts_for_family
KeyError: 'open-sans'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/ebooks/oeb/transforms/flatcss.py", line 229, in get_embed_font_info
  File "calibre/utils/fonts/scanner.py", line 227, in fonts_for_family
calibre.utils.fonts.scanner.NoFonts: No fonts found for the family: 'open-sans'

Last edited by edgargal; 05-05-2021 at 03:37 PM.
edgargal is offline   Reply With Quote