DO NOT REPLY [Bug 43474] wrap-option=wrap doesn't work

2008-05-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=43474


Andreas L. Delmelle [EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #21910|0   |1
is obsolete||




--- Comment #8 from Andreas L. Delmelle [EMAIL PROTECTED]  2008-05-04 
06:50:26 PST ---
Created an attachment (id=21917)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=21917)
More extensive patch

The updated patch takes a different approach: first let the default
text-breaking loop do its work, check if the gathered word-fragment exceeds the
available IPD, and if wrapping should be forced, process each character as a
separate word-fragment to let the LineLayoutManager sort it out.

This effectively limits the effects only to those 'words' that would not fit in
the line as a whole. For those words that do fit in the line, only one box is
generated as before.


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


DO NOT REPLY [Bug 43474] wrap-option=wrap doesn't work

2008-05-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=43474


Andreas L. Delmelle [EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #21913|0   |1
is obsolete||




--- Comment #9 from Andreas L. Delmelle [EMAIL PROTECTED]  2008-05-04 
06:53:47 PST ---
Created an attachment (id=21918)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=21918)
Updated PDF result


The PDF result after applying the second patch shows the effects: the resulting
layout will keep words together if they fit, and for the other words, the
characters are distributed nicely over as few lines as possible.


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


DO NOT REPLY [Bug 38264] Hyphenation does not play well with preserved linefeed-treatment or white-space-treatment

2008-05-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=38264


Andreas L. Delmelle [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED




--- Comment #8 from Andreas L. Delmelle [EMAIL PROTECTED]  2008-05-04 
10:54:00 PST ---
In the meantime, managed to track down the source of the problem with
linefeed-treatment=preserve.
Nothing inherently wrong with the hyphenation loop itself. After the
hyphenation-points have been determined, and the updates are processed is where
it goes wrong.

See LineLayoutManager.findHyphenationPoints(), second main loop. For each
Paragraph, the corresponding TextLayoutManager.applyChanges() and
.getChangedKnuthElements() are used.
Checking the implementations for those latter two methods reveals that they do
not take into account that they can be called multiple times for the same
instance. The former always sets the 'returnedIndex' member to 0, which leads
to the duplication if the latter is called twice. Each subparagraph in the main
paragraph is replaced by a copy of the main paragraph...

Now still looking for a solution :/


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


DO NOT REPLY [Bug 43815] If Block Container doesn't have width/ height properties then strange effects can occur on layout of child elements

2008-05-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=43815


Andreas L. Delmelle [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Comment #2 from Andreas L. Delmelle [EMAIL PROTECTED]  2008-05-04 
22:46:35 PST ---
FWIW: bug seems to be fixed in current FOP trunk (probably also 0.95).

I suspect the issue has been fixed with Jeremias' refactoring of BlockViewport
handling...

Chris, can you confirm, so that we may close this one?


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


DO NOT REPLY [Bug 39983] AWTRenderer should not call System.exit().

2008-05-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=39983





--- Comment #6 from Andreas L. Delmelle [EMAIL PROTECTED]  2008-05-04 
22:51:53 PST ---
Cleanup: marking bug as fixed, so it disappears from the weekly bug-report.


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