]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
removed excess spaces
authorKeiron Liddle <keiron@apache.org>
Thu, 7 Mar 2002 12:22:11 +0000 (12:22 +0000)
committerKeiron Liddle <keiron@apache.org>
Thu, 7 Mar 2002 12:22:11 +0000 (12:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194693 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/pdf/PDFColor.java

index 443716b3a56f4ec27179174c1117c3b6bc3a9aea..379b1e2d83858df7194b5e9f2652c430fd079ad8 100644 (file)
@@ -175,8 +175,8 @@ public class PDFColor extends PDFPathPaint {
                 } else {
                     p.append(PDFNumber.doubleOut(this.red) + " "
                              + PDFNumber.doubleOut(this.green) + " "
-                             + PDFNumber.doubleOut(this.blue) + " "
-                             + " rg \n");
+                             + PDFNumber.doubleOut(this.blue)
+                             + " rg\n");
                 }
             } else {                              // stroke/border
                 if (same) {
@@ -184,8 +184,8 @@ public class PDFColor extends PDFPathPaint {
                 } else {
                     p.append(PDFNumber.doubleOut(this.red) + " "
                              + PDFNumber.doubleOut(this.green) + " "
-                             + PDFNumber.doubleOut(this.blue) + " "
-                             + " RG \n");
+                             + PDFNumber.doubleOut(this.blue)
+                             + " RG\n");
                 }
             }
         }                                         // end of output RGB
@@ -196,12 +196,12 @@ public class PDFColor extends PDFPathPaint {
                 p.append(PDFNumber.doubleOut(this.cyan) + " "
                          + PDFNumber.doubleOut(this.magenta) + " "
                          + PDFNumber.doubleOut(this.yellow) + " "
-                         + PDFNumber.doubleOut(this.black) + " k \n");
+                         + PDFNumber.doubleOut(this.black) + " k\n");
             } else {                              // fill
                 p.append(PDFNumber.doubleOut(this.cyan) + " "
                          + PDFNumber.doubleOut(this.magenta) + " "
                          + PDFNumber.doubleOut(this.yellow) + " "
-                         + PDFNumber.doubleOut(this.black) + " K \n");
+                         + PDFNumber.doubleOut(this.black) + " K\n");
             }
 
         }                                         // end of if CMYK
@@ -209,9 +209,9 @@ public class PDFColor extends PDFPathPaint {
             // assume we're in DeviceGray, because otherwise we're screwed.
 
             if (fillNotStroke) {
-                p.append(PDFNumber.doubleOut(this.black) + " g \n");
+                p.append(PDFNumber.doubleOut(this.black) + " g\n");
             } else {
-                p.append(PDFNumber.doubleOut(this.black) + " G \n");
+                p.append(PDFNumber.doubleOut(this.black) + " G\n");
             }
 
         }