Fop
  1. Fop
  2. FOP-1676

specified rule-thickness applies only when leader-pattern is rule, otherwise should use default thickness

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: general
    • Labels:
      None
    • Environment:
      Operating System: Windows Server 2003
      Platform: PC
    • External issue ID:
      47380

      Description

      <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">
      <fo:layout-master-set>
      <fo:simple-page-master page-height="10cm" page-width="15cm" master-name="main">
      <fo:region-body/>
      </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="main">
      <fo:flow flow-name="xsl-region-body">
      <fo:block text-align-last="justify" span="all" width="15cm">
      <fo:inline background-color="red">left page border</fo:inline>
      <fo:leader leader-pattern="space" rule-style="dotted" rule-thickness="0.0pt" background-color="yellow"/>
      <fo:inline text-align="right" background-color="green">right page border?</fo:inline>
      </fo:block>
      </fo:flow>
      </fo:page-sequence>
      </fo:root>

      One block, an inline left, an inline right, a leader in between. I'd expect the right inline to end at the right page end.

      Not working in Version 784924
      Still working in a build made on 2009/05/19, definitely before IF was included in trunk (which does not mean, IF is responsible for the error!)

      Manifest snippet:

      Build-Id: 20090519-142808-CEST (gdatterl [Windows 2003 5.2 amd64, Java
      1.5.0_15-b04])
      Class-Path: PDFBox-0.7.4-dev.jar avalon-framework-4.2.0.jar batik-all-
      1.7.jar checkstyle-all-5.0-beta01.jar commons-io-1.3.1.jar commons-lo
      gging-1.0.4.jar fop-pdf-images-1.3.jar jai_codec.jar jai_core.jar jun
      it-4.5.jar serializer-2.7.0.jar servlet-2.2.jar xalan-2.7.0.jar xerce
      sImpl-2.7.1.jar xml-apis-1.3.04.jar xml-apis-ext-1.3.04.jar xmlgraphi
      cs-commons-1.4svn.jar xmlunit-1.2.jar

        Activity

        Georg Datterl created issue -

          People

          • Assignee:
            fop-dev
            Reporter:
            Georg Datterl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development