Hi
We are using FOP to generate PostScript and PDF file by XSL. It works fine.
But we also found a little minor difference compare ps to pdf, such as, the
position and size of border, table and font, the vertical position of image.
You can test that with docs/examples/fo/border.fo by printing th
I failed to build the current CVS FOP unfortunately.
Attached are two version of PSRenderer.java, one retrieved from
fop-0.20.3-src.tar.gz and the other is a patch.
This patch will render the PostScript file in same appearance (position and
size of border, table and font) with PDF's. Although w
Attached is a unified diff with current CVS.
This patch will render the PostScript file in same appearance (position and
size of border, table and font) with PDF's. Although we noted that the size
of border and table in PDF file is smaller than it should be. I have tested
the code with Fop-0.20.3
The coordinate x/y is defined in AbstractRenderer and PSRenderer use this
coordinate when render a line or image.
Actually, I shrink whole page and relocate it, adjust the image y position.
BTW, I worked with fop-0.20.3 source file not the current CVS version.
Huikang
-Original Message-
yes, I have activated "shrink oversized paper to paper size" and
"auto-rotate and center pages" checkboxes in Acrobat reader. This is a =
cause
of diffrent layout, so forget the code I submit before.
But the image position is still wrong, I modifyied one line in
renderImageArea method and get tha