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