xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acumis...@apache.org
Subject svn commit: r674043 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFRenderer.java
Date Fri, 04 Jul 2008 13:17:07 GMT
Author: acumiskey
Date: Fri Jul  4 06:17:06 2008
New Revision: 674043

URL: http://svn.apache.org/viewvc?rev=674043&view=rev
Log:
The pdf StringBuffer is only used on these two lines and doesn't seem to do anything...
Very strange... :-S

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFRenderer.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFRenderer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFRenderer.java?rev=674043&r1=674042&r2=674043&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFRenderer.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFRenderer.java Fri Jul  4 06:17:06
2008
@@ -1415,7 +1415,6 @@
         updateColor(ct, true);
         
         beginTextObject();
-        StringBuffer pdf = new StringBuffer();
 
         String fontName = getInternalFontNameForArea(text);
         int size = ((Integer) text.getTrait(Trait.FONT_SIZE)).intValue();
@@ -1434,8 +1433,6 @@
 
         textutil.writeTextMatrix(new AffineTransform(1, 0, 0, -1, rx / 1000f, bl / 1000f));
 
-        currentStream.add(pdf.toString());
-
         super.renderText(text);
 
         textutil.writeTJ();



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message