[xep-support] Titlepage in SVG covering whole page

Chris Bowditch bowditch_chris at hotmail.com
Mon Oct 9 01:49:30 PDT 2006


Ettinger, Christian wrote:

> Hi,
>  
> I'm looking for a way to create a titlepage with SVG that covers the
> whole page.
> I want to have some colored rectangles that are behind the text and
> continue until the very border of the page. My idea was to use
> <fo:instream-foreign-object> and manufacture the complete page in SVG.
> For that I defined a page master with all margin attributes set to zero.
> My problem now is that XEP does not render the SVG image when it is as
> high as the page (297mm for A4 in my case). As long as the SVG is <
> 296mm in height everything works, but the rectangle does not reach the
> bottom of the page. With a height of 296mm or more XEP just says
> "[error] no space for an element, trying to recover" and skips my SVG.

This is probably the effect of half leading that XEP places around all 
content. Try playing with the line-height property to remove leading, 
e.g. line-height="1.0" should do the trick


<snip/>



-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list