[Okular-devel] Okular webkit - paginating issue
Jaydeep Solanki
jaydp17 at gmail.com
Sat May 25 14:19:56 UTC 2013
On Sat, May 25, 2013 at 2:52 AM, Jaydeep Solanki <jaydp17 at gmail.com> wrote:
> 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 ?
>
Anyways, got it working,
I was missing QPainter::scale(sx,sy)
Cheers,
Jaydeep
> 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/42cfa108/attachment.html>
More information about the Okular-devel
mailing list