You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Norbert Sensen <n....@web.de> on 2004/09/29 10:43:47 UTC
Problem with page margin-right: too big!
Hello all,
i want to use a german A4-page, so i use:
<fo:simple-page-master master-name="default-page" height="297mm" width="210mm" margin-top="1cm" margin-bottom="1cm" margin-left="2cm" margin-right="2cm">
<fo:region-before extent="2cm"/>
<fo:region-body margin-top="2cm" margin-left="0cm" margin-right="0cm" margin-bottom="1cm"/>
<fo:region-after extent="1cm"/>
</fo:simple-page-master>
right?
Now, i think i well get identical left- and right-page-margins of 2 cm's.
If i use
<fo:page-sequence master-reference="default-page" initial-page-number="1" format="1">
<fo:static-content flow-name="xsl-region-before">
<fo:block color="black" padding-top="-3mm">
<fo:leader leader-length="100%" leader-pattern="rule" rule-thickness="1pt" />
</fo:block>
in order to generate a line the following problem occurs:
In the awt-preview everything looks ok.
But then, if i print it i get a right margin of 2.65 cm. The left margin is absolety ok.
If i generate a pdf-file i get the same problem.
Perhaps it is interisting to know that pdf reports a page-size of 203.2mm x 279.4mm!
I have expacted a width of 210mm. The difference is exactly the same difference i see
on the right margin!
Am i doing something wrong? Or is there a fop-problem?
Thanks,
Norbert Sensen
____________________________________________________
Aufnehmen, abschicken, nah sein - So einfach ist
WEB.DE Video-Mail: http://freemail.web.de/?mc=021200
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org