RE: [xep-support] Letter sized EPS file on letter sized page?

From: David Cramer (dcramer@broadjump.com)
Date: Thu Oct 24 2002 - 13:02:44 PDT


We use a background image on a simple-page-master's region-body for our covers. Very easy with .eps. You have to do a little more work if you want to use a gif (I got it to work, but had to use rx:background-content-width and rx:background-content-height to make the image $page.height by $page.width).

        <fo:simple-page-master
          margin-right="0in"
          margin-left="0in"
          margin-bottom="0in"
          margin-top="0in"
          page-height="{$page.height}"
          page-width="{$page.width}"
          master-name="cover">
 <fo:region-body
                margin-left="0pt"
                margin-right="0pt"
                margin-top="0pt"
                margin-bottom="0pt"
        background-repeat="no-repeat"
      background-image="url(file://C:/xep/letter-page.eps)"/>
...

David

> -----Original Message-----
> From: David Tolpin [mailto:dvd@renderx.com]
> Sent: Thursday, October 24, 2002 1:30 PM
> To: xep-support@renderx.com
> Subject: Re: [xep-support] Letter sized EPS file on letter sized page?
>
>
> > <fo:page-sequence master-reference="duplex-cover"
> initial-page-number="auto" format="1">
> > <fo:flow flow-name="xsl-region-body">
> >
> > <fo:block>
> > <fo:external-graphic
> scaling="non-uniform" content-width="100%"
> content-height="100%" src="url(file://C:/xep/letter-page.eps)"/>
> > </fo:block>
> >
> > </fo:flow>
> > </fo:page-sequence>
> > </fo:root>
>
> Leading is added to the image height. Specify line-height on
> the block to be the same as the image's height.
>
> David Tolpin
> -------------------
> By using the Service, you expressly agree to these Terms of
> Service http://www.renderx.com/tos.html
>

-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



This archive was generated by hypermail 2.1.5 : Wed Dec 18 2002 - 08:41:28 PST