aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/svg
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-06-07 10:08:42 +0000
committerKeiron Liddle <keiron@apache.org>2001-06-07 10:08:42 +0000
commite8157f45663ee5181be3ce907f694dbe8585b762 (patch)
treeed5a642282b17917c96f8f0c9bd5aa9f9f4e9c33 /src/org/apache/fop/svg
parent41c0dd4ca3ec21917979e035b3112d31a612acfb (diff)
downloadxmlgraphics-fop-e8157f45663ee5181be3ce907f694dbe8585b762.tar.gz
xmlgraphics-fop-e8157f45663ee5181be3ce907f694dbe8585b762.zip
fixes a line colouring problem
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194278 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/svg')
-rw-r--r--src/org/apache/fop/svg/PDFGraphics2D.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/org/apache/fop/svg/PDFGraphics2D.java b/src/org/apache/fop/svg/PDFGraphics2D.java
index be2e16c40..558d80688 100644
--- a/src/org/apache/fop/svg/PDFGraphics2D.java
+++ b/src/org/apache/fop/svg/PDFGraphics2D.java
@@ -140,7 +140,7 @@ public class PDFGraphics2D extends AbstractGraphics2D {
*/
public boolean drawImage(Image img, int x, int y,
ImageObserver observer) {
- System.err.println("drawImage:x, y");
+ //System.err.println("drawImage:x, y");
final int width = img.getWidth(observer);
final int height = img.getHeight(observer);
@@ -414,10 +414,7 @@ public class PDFGraphics2D extends AbstractGraphics2D {
writeClip(imclip);
Color c = getColor();
currentColour = new PDFColor(c.getRed(), c.getGreen(), c.getBlue());
- currentStream.write(currentColour.getColorSpaceOut(true));
- c = getBackground();
- PDFColor col = new PDFColor(c.getRed(), c.getGreen(), c.getBlue());
- currentStream.write(col.getColorSpaceOut(false));
+ currentStream.write(currentColour.getColorSpaceOut(false));
PDFNumber pdfNumber = new PDFNumber();
@@ -869,7 +866,7 @@ public class PDFGraphics2D extends AbstractGraphics2D {
* <code>Graphics2D</code>.
*/
public GraphicsConfiguration getDeviceConfiguration() {
- System.out.println("getDeviceConviguration");
+ //System.out.println("getDeviceConviguration");
return GraphicsEnvironment.getLocalGraphicsEnvironment().
getDefaultScreenDevice().getDefaultConfiguration();
}