Quote:
Originally Posted by HaPeSchu
Hi,
i'm still inbestigating in this, but i guess Sigil has a problem with the font preview. If a font is obfucated and the bookid in the identfier element is changed sigil is not able to load the file after it has been saved.
This was possible before the fonts could be previewed in sigil, so i guess sigil is checking now something, cant do that anymore terminates itself.
Can anyone confirm this?
Steps:
Epub file with obfuscated fonts
open
change bookid in identifier element (conten.opf)
save
close sigil
open sigil with ebook => crash
|
Are you sure this used to work? Since the Font Preview won't try to load when opening an epub, I doubt that the crash is related. There are two kinds of font encryption (IDPF and Adobe). I suspect one of them uses the BookID as part of its encryption key. If that's the case, it wouldn't matter if Sigil crashed or not, the obfuscated fonts would no longer render correctly. Is it possible this has always been broken (for at least one of the supported obfuscation schemes)?
We'll certainly look into eliminating the crash, but just know that changing items that are potentially used in the encryption key for obfuscated fonts is not a good idea.
Best practice would be to de-obfuscate (right click on font files in Book Browser and toggle the obfuscation off), change the ID, and then re-obfuscate (if necessary). If for your own use, obfuscation is typically unnecessary. If for submission, it's generally best to let the upstream retailer apply the obfuscation.