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'