https://issues.apache.org/bugzilla/show_bug.cgi?id=44672
Summary: Right aligned text within table cells is not correctly aligned using PCL Product: Fop Version: 1.0dev Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: pcl AssignedTo: fop-dev@xmlgraphics.apache.org ReportedBy: [EMAIL PROTECTED] Summary: -------- When printing right aligned content in a table, the PCL renderer does not correctly align the content. This worked in 0.20.5, but is broken in all 0.9x releases which I tested, including current trunk. It appears that the longer the content string is, the more the output is offset to the left. This only affects PCL; PDF output is correct. Steps to Reproduce: ------------------- 1) Download attachment test.fo 2) Run command './fop -fo test.fo -pdf test.pdf' to get a benchmark of what the output is supposed to look like. 3) Run command './fop -fo test.fo -pcl test.pcl' to generate the incorrect output. 4) Print this file using the command 'lpr test.pcl' (this assumes that you have a default printer set up, which accepts PCL documents). Observed Results: ----------------- Compare the printout and the PDF file. Note that in the PDF, the right aligned content is all aligned correctly. In the PCL file, some of the lines are offset to the left. It appears to me from testing that the longer the text is, the further it is offset. Desired Results: ---------------- The PCL output should look the same as PDF: the right aligned text should truly be right aligned. Further Notes: -------------- I looked through the source, but was not able to find where this is handled. If someone could give me a pointer to a few classes which may contain the bug, I would be willing to give this a shot myself. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.