Closed GoogleCodeExporter closed 8 years ago
Please provide a test document or this bug will have to be closed as
non-reproducible.
Original comment by liza31337@gmail.com
on 18 Sep 2010 at 2:56
We've found out that this warning didn't appear when converting a file in
Calibre 0.6.40, but all newer versions after 0.6.40 produce this error in
combination with epubcheck 105.
I've enclosed a testfile: test1867.epub.
Original comment by ppmgze...@gmail.com
on 20 Sep 2010 at 1:20
Attachments:
Thank you for the test case. There is an embedded font in the package that is
obfuscated using Adobe's method. I am not familiar with their font mangling
algorithm but looking at the epubcheck source code I see that it is expecting
the algorithm to be declared as "http://ns.adobe.com/digitaleditions/enc". The
algorithm in the sample is declared as "http://ns.adobe.com/pdf/enc#RC".
Probably this font will not be displayable in any EPUB readers, but I am not
convinced that the EPUB is invalid just because epubcheck can't decrypt the
font. Peter?
Original comment by liza31337@gmail.com
on 28 Sep 2010 at 3:48
Thanks for your response.
I've tried to edit the encryption file and change the
"http://ns.adobe.com/pdf/enc#RC" into "http://ns.adobe.com/digitaleditions/enc"
but this makes no difference, epubcheck still gives the error.
Original comment by ppmgze...@gmail.com
on 28 Sep 2010 at 7:49
Algorithm URL "http://ns.adobe.com/pdf/enc#RC" is correct for Adobe
obfuscation. I think this warning is given any time we hit an encrypted
resource, just to let users know that we did not validate that resource in any
way. Being a warning, it does not mean that EPUB is invalid.
Original comment by soroto...@gmail.com
on 12 Oct 2010 at 11:14
Thanks Peter. I think this is not a bug, then.
Original comment by liza31337@gmail.com
on 12 Oct 2010 at 11:56
I understand that this is closed, but will the Apple iBookstore allow a file
with this error/warning to be uploaded?
Original comment by monica_m...@bellsouth.net
on 9 May 2011 at 3:51
Hi Monica,
I haven't checked this lately because nowadays we don't include fonts
anymore, but as far as I know an epub with this issue will not pass the
Apple iBookstore validation.
Original comment by ppmgze...@gmail.com
on 18 May 2011 at 7:15
Is it a necessary warning? I'm thinking that technical publications that may
need to embed fonts to get certain characters to show up properly will allways
be hindered by this warning. Why is it a warning if it is doing what it is
supposed to do--verifying encrypted fonts when they've been embedded?
Original comment by monica_m...@bellsouth.net
on 7 Jun 2011 at 1:50
Hi,
I notice that the last entry for this "issue" was June 7, 2011. Does anyone
know if a cure for this snafu was ever determined.
I just tried to validate an ePUB in ePub Checker and got the same error:
ePubChecker began checking: 2012-02-15 23:41:45
File name: PL epub test 0214-3.epub
File path: /Users/tunesmith/Desktop/PL\ epub\ test\ 0214\-3.epub
http://www.Rainwater-Soft.com/epubchecker/
Using the checking engine from: http://code.google.com/p/epubcheck/
Epubcheck Version 1.0.5
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/AGaramondPro-Bold.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/AGaramondPro-BoldItalic.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/AGaramondPro-Italic.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/AGaramondPro-Regular.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/AppleGaramond-Italic.ttf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/Palatino-Roman.ttf cannot be decrypted
Any help would be greatly appreciated!!
Thanks,
Mark Waldron
Original comment by definiti...@gmail.com
on 16 Feb 2012 at 4:49
Epubcheck Version 1.0.5
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/AGaramondPro-Bold.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/AGaramondPro-BoldItalic.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/AGaramondPro-Italic.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/AGaramondPro-Regular.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/AppleGaramond-Italic.ttf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource
OEBPS/fonts/Palatino-Roman.ttf cannot be decrypted
You must eliminate encription.xml from Meta-Inf folder.
Original comment by ric...@santillana.es
on 3 Sep 2012 at 3:18
Original issue reported on code.google.com by
ppmgze...@gmail.com
on 15 Sep 2010 at 1:08