Theme wizard does not show correct line count (max lines/slide)
Bug #788231 reported by
Andreas Preikschat
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Low
|
Tim Bentley |
Bug Description
Hello,
Running trunk r1570.
1) Create a new plain theme with a main font size of 30px.
2) Create a custom with a number on each line (so you don't have to count lines yourself)
3) Make the theme you just created the default theme for this custom.
4) Preview the custom.
Now compare the lines which fit on one slide with the line count the wizard told you. You probably will notice that they are not equal, thus the line count the wizard shows you is wrong.
However, the outcome depends on your screen resolution so you might have to try a few different font sizes (I use 1024x768)- I guess the {su} and {sb} tags are confusing the renderer (but maybe there are other reasons too).
Cheers
Related branches
lp:~trb143/openlp/bug_788231
- Andreas Preikschat (community): Approve
- Raoul Snyman: Approve
-
Diff: 43 lines (+4/-4)2 files modifiedopenlp/core/lib/renderer.py (+3/-3)
openlp/core/ui/themeform.py (+1/-1)
Changed in openlp: | |
status: | New → Confirmed |
Changed in openlp: | |
importance: | Undecided → Low |
Changed in openlp: | |
status: | Confirmed → Fix Committed |
Changed in openlp: | |
status: | Fix Committed → Fix Released |
milestone: | none → 1.9.6 |
assignee: | nobody → Tim Bentley (trb143) |
To post a comment you must log in.
{su} and {sb} may well affect line height.
Whatever text is being used to calculate the number of rows should be just plain text, if it isn't currently.
Line count is just a guideline however, and any Song/Custom/Bible which has subscripts/ superscripts will cause a different result.