2860: Problem with det_ancestor report in PDF at page breaks\n no more STRANGE output

svn: r12536
This commit is contained in:
Benny Malengier 2009-05-18 14:42:06 +00:00
parent afbf70ed3f
commit de2a2c2e67

View File

@ -500,6 +500,10 @@ class GtkDocParagraph(GtkDocBaseElement):
startheight = linerange[0]
endheight = linerange[1]
splitline = -1
if lineiter.at_last_line():
#only one line of text that does not fit
return (None, self), 0
while not lineiter.at_last_line():
#go to next line, see if all fits, if not split
lineiter.next_line()