aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Bernard West <pbwest@apache.org>2003-06-20 10:21:50 +0000
committerPeter Bernard West <pbwest@apache.org>2003-06-20 10:21:50 +0000
commit43a70ff97edc958b1dd34bf37a75eb167c2aaa79 (patch)
treee08f304f4b60516442a1b5f798714509076bca18
parent7e5e2d8cb00db8216a8bea9c265959b7ad757760 (diff)
downloadxmlgraphics-fop-43a70ff97edc958b1dd34bf37a75eb167c2aaa79.tar.gz
xmlgraphics-fop-43a70ff97edc958b1dd34bf37a75eb167c2aaa79.zip
Static method accessed in static manner.
Spaces before ';' removed. Array specifiers moved. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196512 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/render/ps/PSRenderer.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSRenderer.java b/src/java/org/apache/fop/render/ps/PSRenderer.java
index 1f249c975..33987f1eb 100644
--- a/src/java/org/apache/fop/render/ps/PSRenderer.java
+++ b/src/java/org/apache/fop/render/ps/PSRenderer.java
@@ -464,7 +464,7 @@ public class PSRenderer extends AbstractRenderer {
for (int i = 0; i < text.length(); i++) {
final char c = text.charAt(i);
final char mapped = font.mapChar(c);
- gen.escapeChar(mapped, sb);
+ PSGenerator.escapeChar(mapped, sb);
}
sb.append(") t");
writeln(sb.toString());
@@ -642,7 +642,7 @@ public class PSRenderer extends AbstractRenderer {
saveGraphicsState();
// multiply with current CTM
//writeln(CTMHelper.toPDFString(ctm) + " cm\n");
- final double matrix[] = ctm.toArray();
+ final double[] matrix = ctm.toArray();
concatMatrix(matrix);
// Set clip?
@@ -753,7 +753,7 @@ public class PSRenderer extends AbstractRenderer {
//saveGraphicsState();
}
- float bwidth = bps.width ;
+ float bwidth = bps.width;
updateColor(bps.color, false, null);
writeln(bwidth + " setlinewidth");
@@ -770,7 +770,7 @@ public class PSRenderer extends AbstractRenderer {
//saveGraphicsState();
}
- float bwidth = bps.width ;
+ float bwidth = bps.width;
updateColor(bps.color, false, null);
writeln(bwidth + " setlinewidth");
@@ -788,7 +788,7 @@ public class PSRenderer extends AbstractRenderer {
//saveGraphicsState();
}
- float bwidth = bps.width ;
+ float bwidth = bps.width;
updateColor(bps.color, false, null);
writeln(bwidth + " setlinewidth");
@@ -806,7 +806,7 @@ public class PSRenderer extends AbstractRenderer {
//saveGraphicsState();
}
- float bwidth = bps.width ;
+ float bwidth = bps.width;
updateColor(bps.color, false, null);
writeln(bwidth + " setlinewidth");
drawLine(sx - bwidth / 2, starty, sx - bwidth / 2, endy);