openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #09884
Re: [Merge] lp:~trb143/openlp/bug_788231 into lp:openlp
> Hello,
>
> Why the -1 in line 27? In my tests this makes the results rather inaccurate. I
> tested 30px-74px (certainly not all sizes, but I checked the line count
> predictions and they were all smaller than the actual line count).
line_count is incremented at the start of the loop so it is one line bigger that number of lines that fit on the page
--
https://code.launchpad.net/~trb143/openlp/bug_788231/+merge/63589
Your team OpenLP Core is subscribed to branch lp:openlp.
References