[xep-support] bug: leader with long leader-length

From: Peter Gerstbach <peter.gerstbach@gft.com>
Date: Wed Jul 06 2005 - 07:32:36 PDT


I discovered an odd bug in XEP's leader implementation:
when using a leader with a leader-length that is greater than the size
of the body the characters before and after the leader are shown from
the right to the left!

Screenshot of the resulting PDF:

The FO file:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
                <fo:simple-page-master margin="10mm" master-name="A4">
                        <fo:region-body margin-left="25mm" margin-right="25mm"
margin-bottom="25mm" margin-top="25mm" margin="30mm"/>
                        <fo:region-before extent="20mm"/>
                        <fo:region-after extent="20mm"/>
                        <fo:region-start extent="20mm"/>
                        <fo:region-end extent="20mm"/>
        <fo:page-sequence master-reference="A4">
                <fo:static-content flow-name="xsl-region-before"/>
                <fo:static-content flow-name="xsl-region-after"/>
                <fo:static-content flow-name="xsl-region-start"/>
                <fo:static-content flow-name="xsl-region-end"/>
                <fo:flow flow-name="xsl-region-body">
                                <fo:inline>Before the leader</fo:inline>
                                <fo:leader leader-length="20.0cm"/>
                                <fo:inline>after the leader</fo:inline>

(*) 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 Wed Jul 6 07:54:15 2005

This archive was generated by hypermail 2.1.8 : Wed Jul 06 2005 - 07:54:15 PDT