aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/ps/PSTextPainter.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2003-09-13 14:23:40 +0000
committerGlen Mazza <gmazza@apache.org>2003-09-13 14:23:40 +0000
commit2febf79f726b7956d570d7ae0a0899833b49d795 (patch)
tree26fbee5255dff5e81218ade51c20b6505a996b66 /src/java/org/apache/fop/render/ps/PSTextPainter.java
parent925268e364bd4bb9d59b61e53d48077dc1dcb34a (diff)
downloadxmlgraphics-fop-2febf79f726b7956d570d7ae0a0899833b49d795.tar.gz
xmlgraphics-fop-2febf79f726b7956d570d7ae0a0899833b49d795.zip
Applied Thomas DeWeese's (Batik team) patches to the transcoder code.
patch info: http://marc.theaimsgroup.com/?l=fop-dev&m=106318855328310&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196902 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/ps/PSTextPainter.java')
-rw-r--r--src/java/org/apache/fop/render/ps/PSTextPainter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSTextPainter.java b/src/java/org/apache/fop/render/ps/PSTextPainter.java
index 855be1ddc..ca12f70ed 100644
--- a/src/java/org/apache/fop/render/ps/PSTextPainter.java
+++ b/src/java/org/apache/fop/render/ps/PSTextPainter.java
@@ -146,7 +146,7 @@ public class PSTextPainter implements TextPainter {
List gvtFonts;
gvtFonts = (List) aci.getAttribute(
GVTAttributedCharacterIterator.TextAttribute.GVT_FONT_FAMILIES);
- Paint forg = (Paint) aci.getAttribute(TextAttribute.FOREGROUND);
+ Paint forg = tpi.fillPaint;
Paint strokePaint = tpi.strokePaint;
Float size = (Float) aci.getAttribute(TextAttribute.SIZE);
if (size == null) {