]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added support for Rounded Corners (see Bugzilla 54041).
authorPeter Hancock <phancock@apache.org>
Wed, 24 Oct 2012 10:20:17 +0000 (10:20 +0000)
committerPeter Hancock <phancock@apache.org>
Wed, 24 Oct 2012 10:20:17 +0000 (10:20 +0000)
Contributions made by PH, JM and LB

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1401607 13f79535-47bb-0310-9956-ffa450edef68

1  2 
findbugs-exclude.xml
src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java
src/java/org/apache/fop/render/intermediate/IFRenderer.java
src/java/org/apache/fop/render/pdf/PDFPainter.java
status.xml

Simple merge
index fa1c5031882e625921846bf9415a8bd6a8658261,4ea7da945b8eaf0cb96ec6a441b75eb9dd85ab0c..7b636fddd9f6e95bd63346b4cb4521807c45039b
@@@ -43,7 -40,8 +43,9 @@@ import org.apache.fop.pdf.PDFTextUtil
  import org.apache.fop.pdf.PDFXObject;
  import org.apache.fop.render.RenderingContext;
  import org.apache.fop.render.intermediate.AbstractIFPainter;
+ import org.apache.fop.render.intermediate.BorderPainter;
+ import org.apache.fop.render.intermediate.GraphicsPainter;
 +import org.apache.fop.render.intermediate.IFContext;
  import org.apache.fop.render.intermediate.IFException;
  import org.apache.fop.render.intermediate.IFState;
  import org.apache.fop.render.intermediate.IFUtil;
@@@ -114,12 -79,10 +118,13 @@@ public class PDFPainter extends Abstrac
          super(documentHandler);
          this.logicalStructureHandler = logicalStructureHandler;
          this.generator = documentHandler.getGenerator();
-         this.borderPainter = new PDFBorderPainter(this.generator);
+         this.graphicsPainter = new PDFGraphicsPainter(this.generator);
+         this.borderPainter = new BorderPainter(this.graphicsPainter);
          this.state = IFState.create();
          accessEnabled = this.getUserAgent().isAccessibilityEnabled();
 +        languageAvailabilityChecker = accessEnabled
 +                ? new LanguageAvailabilityChecker(documentHandler.getContext())
 +                : null;
      }
  
      /** {@inheritDoc} */
diff --cc status.xml
index f565f3eec1adca3153f671eab0a0138ba15ecc5f,76b25a9eb44841083709f68b125b412fd6525be5..e08a24372ed428190a5c50182c55df3b58b206c7
        documents. Example: the fix of marks layering will be such a case when it's done.
      -->
      <release version="FOP Trunk" date="TBD">
++      <action context="Code" dev="PH" type="add" fixes-bug="54041">
++        Added support for Rounded Corners on block areas.
++      </action>
 +      <action context="Renderers" dev="VH" type="add" fixes-bug="54038">
 +        Added PDF/A-2 output option.
 +      </action>
 +      <action context="Renderers" dev="VH" type="add" fixes-bug="54037">
 +        PDF output: Issue a warning when accessibility is enabled and language information is 
 +        missing.
 +      </action>
 +      <action context="Renderers" dev="VH" type="add" fixes-bug="53980">
 +        PDF accessibility: Store language information coming from fo:block or fo:character in the 
 +        structure tree.
 +      </action>
        <action context="Layout" dev="MH" type="add" fixes-bug="53924" due-to="Luis Bernardo">
          Support for retrieve-table-markers
        </action>