[Okular-devel] Dt. 27th July - status
Albert Astals Cid
aacid at kde.org
Sun Jul 28 15:31:58 UTC 2013
El Dissabte, 27 de juliol de 2013, a les 23:24:40, Jaydeep Solanki va
escriure:
> Hi,
>
> As we were discussing about the two files mentioned in Bug 318485, not
> displaying images, there's really something strange with it.
>
> I tried loading that epub without its CSS, nothing changed.
> I copy-pasted the html from the epub to QTextDocument::setHtml() in
> converter.cpp, still not loading images.
> But when I tried it in a different project, with a QTextEdit, loads it
> successfully.
> That indicates that there must be some bug in EpubDocument (subclass of
> QTextDocument) but we are not doing anything fancy there, except overriding
> QTextDocument::loadResource().
>
> Whenever you get some time, please have a look at it.
> Here<https://www.dropbox.com/s/z3kuqm2bg4s4qmf/cc1.epub>'s
> a link to a minified version (containing just a single page) of one of
> those epubs.
>
> From tomorrow, I'll move on with something else.
Why are you moving onto something else? You seem to be very close to the root
of the problem.
Seems to me you should try some more stuff, like what happens if you remove
the loadResource overload from EpubDocument?
Be more persistent!
Cheers,
Albert
>
> Also, now huge images won't span outside of a page. [fixed]
>
> Cheers,
> Jaydeep
More information about the Okular-devel
mailing list