Merge lp:~trb143/openlp/bug_788231 into lp:openlp
Proposed by
Tim Bentley
Status: | Merged |
---|---|
Approved by: | Andreas Preikschat |
Approved revision: | 1495 |
Merged at revision: | 1619 |
Proposed branch: | lp:~trb143/openlp/bug_788231 |
Merge into: | lp:openlp |
Diff against target: |
43 lines (+4/-4) 2 files modified
openlp/core/lib/renderer.py (+3/-3) openlp/core/ui/themeform.py (+1/-1) |
To merge this branch: | bzr merge lp:~trb143/openlp/bug_788231 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andreas Preikschat (community) | Approve | ||
Raoul Snyman | Approve | ||
Review via email: mp+63589@code.launchpad.net |
Description of the change
Try to improve the number of lines calculation.
As stated in the bug report the number of lines is not an exact science and things like super and sub script mess things up.
I have tested with a text only slide and the numbers now match!
Updated UI to add vagueness but may be the documentation needs to be changed as well
To post a comment you must log in.
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).