aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-04-04 12:40:22 +0000
committerJeremias Maerki <jeremias@apache.org>2008-04-04 12:40:22 +0000
commitc8398fb8fb8998f534daee7e4ff42600792898a6 (patch)
tree6c1eec805159c846a04a439b5cc85cb72b0c7cc9 /src/java/org/apache
parent3465436b86cf3153adfd9e275f9da72c6847086c (diff)
downloadxmlgraphics-fop-c8398fb8fb8998f534daee7e4ff42600792898a6.tar.gz
xmlgraphics-fop-c8398fb8fb8998f534daee7e4ff42600792898a6.zip
Bugzilla #44744:
Disable drawString(AttributedCharacterIterator, float, float) as it contains bugs and rely on the fallback implementation from AbstractGraphics2D. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@644697 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r--src/java/org/apache/fop/svg/PDFGraphics2D.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/svg/PDFGraphics2D.java b/src/java/org/apache/fop/svg/PDFGraphics2D.java
index 1e23a6f20..05c30ef50 100644
--- a/src/java/org/apache/fop/svg/PDFGraphics2D.java
+++ b/src/java/org/apache/fop/svg/PDFGraphics2D.java
@@ -50,8 +50,6 @@ import java.awt.image.renderable.RenderableImage;
import java.io.IOException;
import java.io.OutputStream;
import java.io.StringWriter;
-import java.text.AttributedCharacterIterator;
-import java.text.CharacterIterator;
import java.util.List;
import java.util.Map;
@@ -1520,7 +1518,7 @@ public class PDFGraphics2D extends AbstractGraphics2D {
* @see #setTransform
* @see #setComposite
* @see #setClip
- */
+ *//* TODO Reimplement for higher efficiency similar to the way it was done in PDFTextPainter
public void drawString(AttributedCharacterIterator iterator, float x,
float y) {
preparePainting();
@@ -1585,7 +1583,7 @@ public class PDFGraphics2D extends AbstractGraphics2D {
}
currentStream.write("ET\n");
- }
+ }*/
/**
* Fills the interior of a <code>Shape</code> using the settings of the