-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on EPUB with OTF obfuscated fonts #2
Comments
Thanks Vincent, I'll take a look at this directly. I fixed something in the FontObfuscation filter the other day, but this one I wasn't aware of. |
Thanks Jim. If you can't get to it right away, let me know and I will be Ric From: Jim Dovey notifications@github.com Thanks Vincent, I'll take a look at this directly. I fixed something in the ‹ |
I think I've fixed it— just have to try it out now, so I'm doing a unit test. |
OK, great. Thanks From: Jim Dovey notifications@github.com I think I've fixed it‹ just have to try it out now, so I'm doing a unit ‹ |
Thanks for answering so fast. |
This is fixed in commit 9af2864 on the develop branch. Note that the content loading system isn't implemented yet, so all filters have to be applied to data manually at present (look at the unit test for an example). |
Hi,
The SDK crashes when opening epub with OTF obfuscated fonts such as this one :
https://code.google.com/p/epub-samples/downloads/detail?name=wasteland-otf-obf-20120118.epub
I tracked down the crash to EncryptionInfo.cpp:32
It throws an invalid_argument error "Node does not contain enc:EncryptionMethod with an Algorithm attribute".
The META-INF/encryption.xml seems valid and contains the algrotihm :
Vincent
The text was updated successfully, but these errors were encountered: