Summary: | EPUB format is not handled correctly (TOC, images, pages not displayed) | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Stas <ss.paranoid> |
Component: | EPub backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid |
Priority: | NOR | ||
Version: | 0.19.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/okular/fcf148b75b98462b927da605ca76ee69ada31fd1 | Version Fixed In: | |
Attachments: | sample ePub file |
Description
Stas
2014-05-13 15:34:46 UTC
Created attachment 87362 [details] sample ePub file This is a sample "hand crafted" epub file that okular cannot read. Both FBreader and Calibre can. the EPUB validator says the file is fine. http://validator.idpf.org/ Git commit fcf148b75b98462b927da605ca76ee69ada31fd1 by Gilbert Assaf. Committed on 15/08/2018 at 17:14. Pushed by gassaf into branch 'master'. Fixes url whitespaces in epub documents Summary: libepub can't handle whitespace url encodings. This is why epub documents containing whitespaces urls aren't displayed correctly. Since libepub doesn't seem to be maintained anymore, it might be better to fix this issue here. Test Plan: Example epubs are in the ticket. Reviewers: #okular, aacid Reviewed By: #okular, aacid Subscribers: ngraham, aacid, okular-devel Tags: #okular Differential Revision: https://phabricator.kde.org/D14310 M +10 -0 generators/epub/CMakeLists.txt A +- -- generators/epub/autotests/data/test.epub A +84 -0 generators/epub/autotests/epubgeneratortest.cpp [License: GPL (v2+)] M +5 -1 generators/epub/converter.cpp https://commits.kde.org/okular/fcf148b75b98462b927da605ca76ee69ada31fd1 |