keiron 02/03/07 04:22:11
Modified: src/org/apache/fop/pdf PDFColor.java
Log:
removed excess spaces
Revision Changes Path
1.12 +9 -9 xml-fop/src/org/apache/fop/pdf/PDFColor.java
Index: PDFColor.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/pdf/PDFColor.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- PDFColor.java 2 Nov 2001 11:06:07 -0000 1.11
+++ PDFColor.java 7 Mar 2002 12:22:11 -0000 1.12
@@ -1,5 +1,5 @@
/*
- * $Id: PDFColor.java,v 1.11 2001/11/02 11:06:07 keiron Exp $
+ * $Id: PDFColor.java,v 1.12 2002/03/07 12:22:11 keiron Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
@@ -175,8 +175,8 @@
} 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 @@
} 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 @@
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 @@
// 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");
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]