Bug 37306 - text-indent side-effect when text-align="start"
Summary: text-indent side-effect when text-align="start"
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: trunk
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-31 06:22 UTC by Jingjing Lee
Modified: 2012-04-01 06:45 UTC (History)
0 users



Attachments
the fo for testing (3.32 KB, text/plain)
2005-10-31 06:24 UTC, Jingjing Lee
Details
the generated pdf (1.97 KB, application/pdf)
2005-10-31 06:26 UTC, Jingjing Lee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jingjing Lee 2005-10-31 06:22:27 UTC
When a block set text-indent value and text-align="start" (or omit), the layout
effect looks like assign a padding-end with the text-indent value. When
text-align is other, the layout effect is OK.
The fop 0.20.5 has no this problem.
Comment 1 Jingjing Lee 2005-10-31 06:24:33 UTC
Created attachment 16839 [details]
the fo for testing
Comment 2 Jingjing Lee 2005-10-31 06:26:14 UTC
Created attachment 16840 [details]
the generated pdf
Comment 3 Manuel Mall 2005-10-31 10:43:07 UTC
Even our own test case "block_text-indent.xml" exhibits the problem - we just 
don't test for it. So, I'll have a look at it.
Comment 4 Manuel Mall 2005-10-31 12:28:37 UTC
See http://svn.apache.org/viewcvs.cgi?rev=329797&view=rev

For text-align="start" the available IPD was incorectly reduced by the value of 
text-indent. text-indent is modelled by adding a Knuth element at the beginning 
of a paragraph. It is not required to change the available IPD.
Comment 5 Glenn Adams 2012-04-01 06:45:02 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed