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

David Cramer dcramer at broadjump.com
Thu Oct 24 13:02:44 PDT 2002


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 at renderx.com]
> Sent: Thursday, October 24, 2002 1:30 PM
> To: xep-support at 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


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



More information about the Xep-support mailing list