aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/svg/PDFTextPainter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/svg/PDFTextPainter.java')
-rw-r--r--src/java/org/apache/fop/svg/PDFTextPainter.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/svg/PDFTextPainter.java b/src/java/org/apache/fop/svg/PDFTextPainter.java
index 299bdc22f..ef376663f 100644
--- a/src/java/org/apache/fop/svg/PDFTextPainter.java
+++ b/src/java/org/apache/fop/svg/PDFTextPainter.java
@@ -90,10 +90,12 @@ class PDFTextPainter extends NativeTextPainter {
final PDFGraphics2D pdf = (PDFGraphics2D)g2d;
PDFTextUtil textUtil = new PDFTextUtil(pdf.fontInfo) {
- @Override
protected void write(String code) {
pdf.currentStream.write(code);
}
+ protected void write(StringBuffer code) {
+ pdf.currentStream.append(code);
+ }
};
if (DEBUG) {