<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 25, 2013 at 2:52 AM, Jaydeep Solanki <span dir="ltr"><<a href="mailto:jaydp17@gmail.com" target="_blank">jaydp17@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div><div>Hi,<br></div>
I'm having some pagination issues with webkit.<br></div>I'm unable to predict the number of pages in a document.<br><br>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.<br>
<br></div><div>In current scenario, I get a lot more pages, than what is there in the epub.<br></div><div><br></div><div>I have attached my diff file.<br><br>Am I missing something ?<br></div></div></div></div></div></div>
</blockquote><div> </div><div>Anyways, got it working,<br></div><div>I was missing <span style="background-color:rgb(238,238,238)"><span style="font-family:courier new,monospace">QPainter::scale(sx,sy) </span></span><br><br>
</div><div>Cheers,<br></div><div>Jaydeep<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div dir="ltr"><div class="gmail_quote">
<div dir="ltr"><div></div><div>May be you can help me get an idea :)<br>
<br><br></div><div>Cheers,<br></div><div>Jaydeep<br></div><br></div>
</div><br></div>
</div></div></blockquote></div><br></div></div>