← Back to team overview

openlp-core team mailing list archive

[Bug 788231] Re: Theme wizard does not show correct line count (max lines/slide)

 

Interesting 
The line starting with 12 is from a song with each number at the start of a line.
12 = lines  686 = page size 724=real size.

12 686 724 <html><head><style>*{margin: 0; padding: 0; border: 0;} #main
{position:absolute; top:0px; white-space:pre-wrap; word-wrap: break-
word; text-align: left; vertical-align: top; font-family: Liberation
Sans; font-size: 45pt; color: #FFFFFF; line-height: 100%;
margin:0;padding:0; padding-left:0px; width: 999px; height: 686px;
}</style></head><body><div
id="main">1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>9<br>10<br>11<br>12<br></div></body></html>

The line starting with 8 is from the theme editing.
8 = lines  686 = page size 750=real size.

8 686 750 <html><head><style>*{margin: 0; padding: 0; border: 0;} #main
{position:absolute; top:0px; white-space:pre-wrap; word-wrap: break-
word; text-align: left; vertical-align: top; font-family: Liberation
Sans; font-size: 45pt; color: #FFFFFF; line-height: 100%;
margin:0;padding:0; padding-left:0px; width: 999px; height: 686px;
}</style></head><body><div
id="main"><sup>floody</sup>,<sub>floody</sub><br><sup>floody</sup>,
<sub>floody</sub><br><sup>floody</sup>,
<sub>floody</sub><br><sup>floody</sup>,
<sub>floody</sub><br><sup>floody</sup>,
<sub>floody</sub><br><sup>floody</sup>,
<sub>floody</sub><br><sup>floody</sup>,
<sub>floody</sub><br><sup>floody</sup>,
<sub>floody</sub><br></div></body></html>

If you compare the HTML then they are the same except for the text!

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/788231

Title:
  Theme wizard does not show correct line count (max lines/slide)

Status in OpenLP - Worship Presentation Software:
  Confirmed

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


References