forked from openlp/openlp
remove print statements
This commit is contained in:
parent
d0bcc06d35
commit
e019e0f5d8
@ -202,7 +202,7 @@ class Renderer:
|
|||||||
bboxes = []
|
bboxes = []
|
||||||
for line in lines:
|
for line in lines:
|
||||||
bboxes.append(self._render_single_line(line, footer))
|
bboxes.append(self._render_single_line(line, footer))
|
||||||
print line, bboxes
|
#print line, bboxes
|
||||||
|
|
||||||
numlines = len(lines)
|
numlines = len(lines)
|
||||||
bottom = self._rect.bottom()
|
bottom = self._rect.bottom()
|
||||||
@ -215,8 +215,8 @@ class Renderer:
|
|||||||
by = 0
|
by = 0
|
||||||
for (x, y) in bboxes[startline:endline]:
|
for (x, y) in bboxes[startline:endline]:
|
||||||
by += y
|
by += y
|
||||||
print by
|
#print by
|
||||||
print by , bottom
|
#print by , bottom
|
||||||
if by > bottom:
|
if by > bottom:
|
||||||
good=0
|
good=0
|
||||||
break
|
break
|
||||||
@ -224,7 +224,7 @@ class Renderer:
|
|||||||
endline = startline+ratio
|
endline = startline+ratio
|
||||||
# if good == 1:
|
# if good == 1:
|
||||||
# break
|
# break
|
||||||
print "---------"
|
#print "---------"
|
||||||
|
|
||||||
retval = []
|
retval = []
|
||||||
numlines_per_page = ratio
|
numlines_per_page = ratio
|
||||||
|
Loading…
Reference in New Issue
Block a user