xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snaga <nagalakshmi.satyanaraya...@gmail.com>
Subject PDF Alignment issues when upgrading from fop-0.95 to fop-2.3
Date Thu, 28 Feb 2019 15:45:43 GMT
I'm new to the XSLT FO world and came across an issue. I have my XSLT that
works well with the fop-0.95 processor and generates the PDF, but after I
upgraded to fop-2.3, it left my first page blank and started the PDF body
from the second page (my PDF has a header that appears fine on the first
page).

I figured out where the issue was, and it was because I had the margin-top
value set to 3 inches in the "fo:region-body" tag within the
"fo:layout-master-set" (please see screenshot). I had to change the 
margin-top from 3 inches to 2.5 inches for the body of my PDF to appear like
it was while using fop-0.95.

Does anyone know why this is happening?
I have multiple PDFs with the same layout, so if I need to upgrade to
fop-2.3 do I have to make this change to all of my PDFs? Any help is greatly
appreciated. Thank you.

<http://apache-fop.1065347.n5.nabble.com/file/t2984/XSLT_Screenshot.png> 



--
Sent from: http://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.html

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message