[Okular-devel] [Bug 198764] EPUB: relative URLs are not resolved (causes e.g. cover image to not display)

Pino Toscano pino at kde.org
Tue Oct 5 10:35:16 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=198764


Pino Toscano <pino at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |4.6
         Resolution|                            |FIXED




--- Comment #10 from Pino Toscano <pino kde org>  2010-10-05 10:35:07 ---
SVN commit 1182629 by pino:

Apply a way to resolve the real location of resources to load.

When iterating through the document HTML files, set in the epub document the
URL of the current file being loaded,
so it is possible to resolve the locations of resources based on the base URL
of the current file.
This makes it possible to load resources like "foo.css", "somedir/foo.css",
"../somedir/foo.css" and so on.

BUG: 198764
FIXED-IN: 4.6


 M  +2 -0      converter.cpp  
 M  +18 -1     epubdocument.cpp  
 M  +3 -0      epubdocument.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1182629

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list