[Okular-devel] Fwd: Okular webkit - paginating issue

Jaydeep Solanki jaydp17 at gmail.com
Fri May 24 21:22:05 UTC 2013


Hi,
I'm having some pagination issues with webkit.
I'm unable to predict the number of pages in a document.

In, EpubDocument::pageCount(), I'm calculating the number of pages taking a
standard  page size (600,800), which is not always true, when viewed on a
higher resolution the number of pages reduce, because of the content being
fluid rearranges itself.

In current scenario, I get a lot more pages, than what is there in the epub.

I have attached my diff file.

Am I missing something ?
May be you can help me get an idea :)


Cheers,
Jaydeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20130525/3fa5f881/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: basic_rendering.diff
Type: application/octet-stream
Size: 14316 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20130525/3fa5f881/attachment-0001.obj>


More information about the Okular-devel mailing list