xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35940] - 1.0dev differences to 0.20.5
Date Fri, 19 Aug 2005 12:08:31 GMT
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=35940>.
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=35940





------- Additional Comments From lfurini@cs.unibo.it  2005-08-19 14:08 -------
I have finally found where the problem lies:

1) in the sample file there is a trailing space at the end of the centered text

2) the sequence of elements created for a space inside centered text is glue - 
penalty - glue - box - penalty - glue

3) the method LineLayoutManager.endSequence() removes penalty and glue 
elements at the end of the sequence, before adding the final elements; thus, 
the LineLM removes only the two last elements in the sub-sequence representing 
a space, leaving the other 4 elements and corrupting the resulting sequence

So, the bug could be either in 1 (there should not be a trailing space) or 3 
(elements removal should be more sophisticated), or maybe in both.

As white space handling is not a code section I know very well, I'm going to 
fix the endSequence() method. :-)


-- 
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.

Mime
View raw message