Bug 38880 - Right border on fo:inline missing when hyphenate=true
Summary: Right border on fo:inline missing when hyphenate=true
Status: CLOSED DUPLICATE of bug 49870
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.91
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 13:41 UTC by Franz Fackelmann
Modified: 2012-04-01 13:42 UTC (History)
0 users



Attachments
Sample FO and PDF output (1.71 KB, application/x-zip-compressed)
2006-03-07 13:44 UTC, Franz Fackelmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Fackelmann 2006-03-07 13:41:52 UTC
If hyphenation is switched on (eg. on a block with attribute hyphenate="true")
then the right border of fo:inline is missig.
Comment 1 Franz Fackelmann 2006-03-07 13:44:02 UTC
Created attachment 17840 [details]
Sample FO and PDF output

First fo:inline has all of its margins (as expected).

In the second fo:block the fo:inline is missing its right border because
hyphenation is turned on.
Comment 2 Manuel Mall 2006-03-08 00:10:38 UTC
Had a quick look at this and the problem is caused by the hyphenation logic 
interfering with the Knuth element position index which is used to determine if 
an area is the last area generated by the InlineLM. In the hyphenation case its 
one off causing the isLast() method to return false and therefore no right 
border is generated because the LM thinks it has more areas to generate.

Haven't found a fix though yet.
Comment 3 Matthias Reischenbacher 2010-12-19 09:36:11 UTC

*** This bug has been marked as a duplicate of bug 49870 ***
Comment 4 Glenn Adams 2012-04-01 13:42:27 UTC
batch transition to closed for remaining resolved bugs