Quote:
Originally Posted by HaPeSchu
Ok, it was only an assumption as i had this issue only in the new version with font-preview. Another thing that led me to this assumption: if i delete the fonts before saving the epub can be opened without problem. Its this Libertine dejavu crap which is just wasting space on my e-reader.
New bookid is just psrt of my clean up script (get rid of html elements in the description, separate a list of authors into single authors meta info, grab some informatuon fram amazon and so on...)
|
If you aren't running that script from within Sigil so it has the un-obfuscated fonts in memory, you are very likely destroying the key needed to decrypt the fonts. For me, the easiest workaround when an epub has encrypted fonts would be to open the epub with Sigil, select the font file, right click and set Font Obfuscation to none before running your script. You can then re-enable font obfuscation after running your script.
Edit: I managed to crash Sigil when I modified the urn:uuid dc:identifier line.
Code:
Error info: Cannot load file C:\Users\David\Desktop\Starlight - James Thatcher.epub: C:/Users/David/AppData/Local/Temp/Sigil-xhdWEU/OEBPS/Fonts/font00247.ttf: http://ns.adobe.com/pdf/enc#RC:
Sigil version: 1.3.0
Runtime Qt: 5.12.9
Compiled Qt: 5.12.9
System: Windows 10 (10.0)
Architecture: x86_64