ebook-convert failing on file with embedded font
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Found In:
ebook-convert (calibre 2.44.1) on Fedora 22
Steps To Reproduce:
1. Start with an epub that includes an embedded font. e.g. dowload the epub from here: https:/
2. Attempt to convert it to a PDF with:
> ebook-convert ./AltogetherEls
Expected:
1. out.pdf is produced with the font from the epub embedded.
2. No errors reported to console; exit status is 0
Actual:
1. No out.pdf is produced
2. command completes with exit status 1 and reports errors from the .../sfnt/metrics.py script due to a missing 'full_name' key in the self.names dict:
Traceback (most recent call last):
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
KeyError: u'full_name'
The fonts in the epub file are damaged, probably by whatever software
was used to subset them. Replace them with the non subsetted versions
using the calibre editor and they will convert fine.
If I have a moment, I will look into trying to work around the damage in
the conversion engine.