You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2008/11/20 19:26:52 UTC
DO NOT REPLY [Bug 46251] New: space-end on throws off
formatting in pdf
https://issues.apache.org/bugzilla/show_bug.cgi?id=46251
Summary: space-end on <inline> throws off formatting in pdf
Product: Fop
Version: 0.95
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: minor
Priority: P2
Component: pdf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: pilcme@yahoo.com
When a block begins with an <inline> and the <inline> has a space-end
attribute, the first line of the block is badly formatted in pdf.
The first line is longer than it should be by the amount of the space-end.
I have not tried any other output besides pdf.
This also happened on 0.94. I have not tried it on any older version and I have
not tried in on the current trunk.
I am attaching an FO file. If you generate a pdf from this FO you should see
the problem.
Note that my block has text-align="justify". This makes the problem easier to
see but the problem remains without the text-align.
--
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 46251] space-end on throws off formatting
in pdf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46251
Andreas L. Delmelle <ad...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Andreas L. Delmelle <ad...@apache.org> 2008-11-21 11:07:14 PST ---
Preliminary check of the code in InlineLM shows that space-end for fo:inlines
is only taken into account when adding the areas, not yet when the element-list
is generated, hence why the line-layout algorithm is tricked into believing
that that break is OK.
I already have the beginnings of a patch ready here, which fixes the issue by
adding the necessary boxes to the element-list, but it's still too rough to
apply. It only takes into account the .optimum component, and besides that, I'm
going to see if at the same time, I can implement space-resolution in that
context...
TBC
--
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 46251] space-end on throws off formatting
in pdf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46251
--- Comment #2 from Eric Amick <er...@mail.house.gov> 2009-02-18 05:09:40 PST ---
Created an attachment (id=23276)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23276)
FO File the also has formatting problems; no-break spaces also involved
--
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 46251] space-end on throws off formatting
in pdf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46251
Eric Amick <er...@mail.house.gov> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #23276|FO File the also has |FO File that also has
description|formatting problems; no- |formatting problems; no-
|break spaces also involved |break spaces also involved
--
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 46251] space-end on throws off formatting
in pdf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46251
Glenn Adams <ga...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
--- Comment #4 from Glenn Adams <ga...@apache.org> 2012-04-11 06:17:01 UTC ---
change status from ASSIGNED to NEW for consistency
--
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 46251] space-end on throws off formatting
in pdf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46251
--- Comment #3 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:44:56 UTC ---
resetting P2 open bugs to P3 pending further review
--
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 46251] space-end on throws off formatting
in pdf
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46251
Glenn Adams <gl...@skynav.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P3
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.