Quote:
Originally Posted by cramoisi
Just to say I got some issues with a DRM-locked epub book even though I remove the DRM of it to modify its CSS.
|
mupdf will fail to open an ePUB document if it finds any of the following files in the archive:
- META-INF/rights.xml
- META-INF/encryption.xml
If it happens, the following error will appear in
info.log:
EPUB is locked by DRM.
I found some ePUBs with a
META-INF/encryption.xml referencing fonts not used by any of the CSS files and sometimes the
encrypted fonts were missing from the archive!
What you can do is remove:
- The links (within the CSS files) to the encrypted files.
- The aforementioned XML files.
- The encrypted files referenced by the aforementioned XML files.
- The references to the aforementioned XML or encrypted files in content.opf.
There's a related
bug report.