Bug 61551

Summary: Endnotes in Ted are cutoff
Product: Ports & Packages Reporter: j.e.drews <j.e.drews>
Component: Individual Port(s)Assignee: Pete Fritchman <petef>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description j.e.drews 2004-01-18 22:10:14 UTC
If an endnote appears on a page without any regular text, then it is not
displayed correctly.
In particular, endnotes that are long enough to lap onto another page cause
this problem also.

Fix: Apply the attached patch:

--NextPart_Webmail_9m3u9jl4l_1821_1074463633
Content-Type: text/plain; name="patch-Ted::docLayoutRow.c"
Content-Transfer-Encoding: 7bit



--NextPart_Webmail_9m3u9jl4l_1821_1074463633----qtwlooCM11ooNSyqSmIPXzDGAlwZTWbJv4JMJ47znvk30MQl
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Ted/docLayoutRow.c	Fri Apr  4 06:46:47 2003
+++ /home/xfce/ted_fixes/docLayoutRow.c	Sat Jan 10 09:41:57 2004
@@ -493,6 +493,9 @@
 	lj->ljPosition.lpAtTopOfColumn= 0;
 	}
 
+    docLayoutPushBottomDown( &(rowBi->biRowBelowAllPosition),
+							&(lj->ljPosition) );
+
     return;
     }
 
How-To-Repeat: In Ted, paste or create an endnote that continues on to the next page. If that
page has no other text, then some of the footnote is clipped.
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2004-01-18 22:39:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->petef

I'll work with the submitter on this one.
Comment 2 Pete Fritchman freebsd_committer freebsd_triage 2004-01-19 21:42:54 UTC
State Changed
From-To: open->closed

Submitter reports the Ted developers will fix this and a few more bugs 
in the upcoming 2.15 version.  Thanks!