> 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. _______________________________________________ Mailing list: https://launchpad.net/~openlp-core Post to : [email protected] Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp

