pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1616383 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
Date Thu, 07 Aug 2014 01:36:57 GMT
Author: jahewson
Date: Thu Aug  7 01:36:56 2014
New Revision: 1616383

URL: http://svn.apache.org/r1616383
Log:
PDFBOX-678: support NEITHER text rendering for AWT

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java?rev=1616383&r1=1616382&r2=1616383&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java Thu Aug
 7 01:36:56 2014
@@ -276,6 +276,10 @@ public class PageDrawer extends PDFGraph
             graphics.setPaint(getStrokingPaint());
             graphics.setStroke(getStroke());
         }
+        else if (renderingMode == RenderingMode.NEITHER)
+        {
+            return;
+        }
         else
         {
             LOG.debug("Unsupported RenderingMode " +



Mime
View raw message