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 49411] using language attribute breaks linefeed-treatment="preserve" rendered block
Date Sat, 19 Jun 2010 18:08:31 GMT

--- Comment #2 from Andreas L. Delmelle <adelmelle@apache.org> 2010-06-19 14:08:27 EDT
(In reply to comment #1)
> I already solved this particular manifestation in my local sandbox, simply by
> doing something I initially expected would already help: invert the principal
> loop in LineLM.createLineBreaks().

Just adding this here for the sake of completeness: turns out that inverting
that loop had nothing to do with it. Current FOP Trunk does not exhibit the
described behavior, even with the loop inverted. 
The 'fix' is actually due to a change made last year to cater for changing IPD
between pages. There was a 'hyphenationPerformed' member added to
LineLayoutManager which effectively masks the problem in this case. This makes
sure that findHyphenationPoints is called only once per LineLM. In case of
preserved linefeeds, this results in only the first paragraph being hyphenated.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message