aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render')
-rw-r--r--src/java/org/apache/fop/render/ps/PSRenderer.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSRenderer.java b/src/java/org/apache/fop/render/ps/PSRenderer.java
index 658666ced..3abb69dfd 100644
--- a/src/java/org/apache/fop/render/ps/PSRenderer.java
+++ b/src/java/org/apache/fop/render/ps/PSRenderer.java
@@ -780,7 +780,11 @@ public class PSRenderer extends AbstractPathOrientedRenderer {
sb.append(")" + PSGenerator.LF + "[");
for (int i = 0; i < textLen; i++) {
if (i > 0) {
- sb.append(" ");
+ if (i % 8 == 0) {
+ sb.append(PSGenerator.LF);
+ } else {
+ sb.append(" ");
+ }
}
sb.append(gen.formatDouble(offsets[i] / 1000f));
}