Re: [xep-support] Image fitting

From: Volodymyr Mykhailyk <Volodymyr.Mykhailyk@intelliarts.com>
Date: Mon May 29 2006 - 03:40:31 PDT
Hi David,
it is probably caused with margins in layout masters. To insert graphic to fill the page (for example in front-matter, or opener page of chapter), we are usually inserting it from layout masters.
If you have some margin's in layout masters replace them with paddings, set margin to 0, and place your image as page background.
here is example:
    <fo:simple-page-master
        master-name="Chapter-first-page"
        page-width="7in"
        page-height="9in">
        <fo:region-body
            margin="0"
            background-image="url(path_to_image)"
            background-repeat="no-repeat"

            padding-left=".9in"
            padding-right="2.5in"
            padding-top=".8in"
            padding-bottom="1.25in"/>
        <fo:region-before extent=".75in"
            display-align="before"
            region-name="first-header"/>
        <fo:region-after extent=".8in"
            padding-left="1in"
            padding-right=".4in"
            padding-bottom=".8in"
            display-align="after"
            region-name="first-footer"/>
    </fo:simple-page-master>
If you want this image appear only from one side of page just create image (transparent or white) of page size and place your side image in it.
--BS
Dovid Zalkin wrote:
Hi. I have an image I am using as a sidebar at the beginning of each chapter of my document. I have a small problem: If I resize the graphic to be exactly the size of the page, it doesn't show up at all in the PDF. However, if it is small enough to appear, it doesn't fill up the whole height of the page; there is a small amount of whitespace at the top and bottom of the image in the PDF. My client wants the image to fill up the page completely. Any suggestions will be welcome.
Thank you,
 
David Zalkin
Technology Consultant
Tech-Tav Documentation Ltd.
+972 (0)57 313 8506

------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html Received on Mon May 29 04:04:17 2006

This archive was generated by hypermail 2.1.8 : Mon May 29 2006 - 04:04:21 PDT