You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2006/01/02 20:27:23 UTC
DO NOT REPLY [Bug 38102] New: - Overflow of output in region-body if there is space-after.optimum
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38102>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38102
Summary: Overflow of output in region-body if there is space-
after.optimum
Product: Fop
Version: 1.0dev
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: page-master/layout
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: mplomer@gmx.de
I have the following problem in the actual SVN version (2006-01-02):
I render a FO document and FOP writes text beyond the bottom of the region-body
area.
After some testing I found out that this happens, if one ore more <fo:block>'s
have the space-before.optimum or space-after.optimum attribute. For space-before
or space-after (without ".optimum") it works fine.
The space itself occurs right, but it seems that the space isn't added to the
"space consumed by the page", and then the output overflows the region-body.
I will attach a sample-fo-file
Ciao
Mark
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 38102] - Overflow of output in region-body if there is space-after.optimum
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38102>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38102
------- Additional Comments From mplomer@gmx.de 2006-01-02 20:30 -------
Created an attachment (id=17308)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=17308&action=view)
Shows the overflow
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 38102] - Overflow of output in region-body if there is space-after.optimum
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38102>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38102
jeremias@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From jeremias@apache.org 2006-01-04 17:00 -------
Bug fixed: http://svn.apache.org/viewcvs?rev=365928&view=rev
But this only fixes this particular problem with fo:block. I will need to check
all the other FOs, too.
The problem was that BlockLayoutManager did not promote the space adjust value
to its child layout managers via the LayoutContext. If you specify the
space-before using only a space-before.optimum, the space may shrink to 0pt if
necessary (.minimum is 0pt by default). In your example, the page breaker tried
to make the space smaller to make a better page break decision, but the code
that generates the areas did not properly respect the breaker's decision.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 38102] - Overflow of output in region-body if there is space-after.optimum
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38102>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38102
mplomer@gmx.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From mplomer@gmx.de 2006-01-04 18:55 -------
Wow ... that was really fast :-)
I've recompiled FOP from SVN an it works.
Now I better understand the handling of
space-after.optimum. The text "This text
should be on the next page" in the sample
is of course not correct.
Thank you.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.