Bug 44681 - LineBreakingAlgorithm in Version 0.95beta incorrect in some cases
Summary: LineBreakingAlgorithm in Version 0.95beta incorrect in some cases
Status: CLOSED INVALID
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: 0.94
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 09:39 UTC by Stephan Bittner
Modified: 2012-04-01 13:51 UTC (History)
0 users



Attachments
FO-File (22.87 KB, application/octet-stream)
2008-03-26 09:39 UTC, Stephan Bittner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Bittner 2008-03-26 09:39:43 UTC
Created attachment 21720 [details]
FO-File

The Fo-File in Attachement is rendered correctly with FOP 0.94.

If I use FOP 0.95beta, there are two lines (one in a table and one inline) which do not break on the next line. (You will see it when generating the PDF File)

The following Warnings occurs:

26.03.2008 17:35:30 org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm updateData2
WARNUNG: Line 1 of a paragraph overflows the available area by more than 50 points. (fo:block, location: 246/19)
26.03.2008 17:35:30 org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm updateData2
WARNUNG: Line 1 of a paragraph overflows the available area by more than 50 points. (fo:block, location: 193/73)
Comment 1 Jeremias Maerki 2008-03-26 12:06:33 UTC
It's not a bug, it's a feature! ;-) The reason for the changed behaviour is added support for inline-level keeps. You've got a keep-together="always" on a parent block of the content that is not breaking. keep-together="always" indirectly also sets keep-together.within-line="always". That's why the line cannot be broken.

Please change the keep to keep-together.within-column="always" and it will be as you expect.
Comment 2 Glenn Adams 2012-04-01 13:51:04 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs