Hello,
I want to set a background-image in the region-before. The image is a gif, 26,42 in width, 3,88 in height and 72 dpi.
I know that the useragent uses a dpi of 72 as default value. When I render the pdf the image is bigger than the content.
I thought that it would fit with that size?!
<fo:layout-master-set>
<fo:simple-page-master margin="10mm 10mm 10mm 20mm" page-height="297mm"
page-width="210mm" master-name="A4Page">
<fo:region-before background-image="url('C:\\...\headpicture.gif')"
background-repeat="no-repeat" extent="38mm" />
<fo:region-body margin-top="39mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
There are no compilation errors. I'm using FOP 0.92 beta.
best regards
Tobias
- background-image oversized Tobias . Soloschenko
- RE: background-image oversized Pascal Sancho
- RE: background-image oversized Tobias . Soloschenko