[Jpackage-commits] dist/xmlgraphics-fop/JPP-6 xmlgraphics-fop-0.95-NativeTextHandler.patch, NONE, 1.1 xmlgraphics-fop.spec, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Wed Dec 22 15:25:44 CET 2010


Update of /home/projects/jpackage/cvs/dist/xmlgraphics-fop/JPP-6
In directory ryu.zarb.org:/tmp/cvs-serv16761

Modified Files:
	xmlgraphics-fop.spec 
Added Files:
	xmlgraphics-fop-0.95-NativeTextHandler.patch 
Log Message:
patch to xmlgraphics-commons-1.4

--- NEW FILE: xmlgraphics-fop-0.95-NativeTextHandler.patch ---
--- src/java/org/apache/fop/render/ps/NativeTextHandler.java.sav2	2008-02-13 13:03:30.000000000 +0100
+++ src/java/org/apache/fop/render/ps/NativeTextHandler.java	2010-12-22 14:34:21.000000000 +0100
@@ -19,6 +19,7 @@
 
 package org.apache.fop.render.ps;
 
+import java.awt.Graphics2D;
 import java.awt.Shape;
 import java.awt.geom.AffineTransform;
 import java.io.IOException;
@@ -139,6 +140,10 @@
         
         gen.restoreGraphicsState();        
     }
+    public void drawString(Graphics2D g, String s, float x, float y) throws IOException {
+       this.g2d = (PSGraphics2D)g;
+       drawString(s, x, y);
+    }
 
     private void escapeText(final String text, StringBuffer target) {
         final int l = text.length();

Index: xmlgraphics-fop.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/xmlgraphics-fop/JPP-6/xmlgraphics-fop.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** xmlgraphics-fop.spec	22 Dec 2010 12:43:47 -0000	1.1
--- xmlgraphics-fop.spec	22 Dec 2010 14:25:42 -0000	1.2
***************
*** 47,50 ****
--- 47,51 ----
  Patch0:         xmlgraphics-fop-build.patch
  Patch1:         xmlgraphics-fop-cli.patch
+ Patch2:         xmlgraphics-fop-0.95-NativeTextHandler.patch
  URL:            http://xmlgraphics.apache.org/fop/
  Requires(post):    jpackage-utils >= 0:1.7.5
***************
*** 105,108 ****
--- 106,110 ----
  %patch0 -p0 -b .build
  %patch1 -p1 -b .cli
+ %patch2 -p0 -b .sav2
  
  pushd lib




More information about the JPackage-commits mailing list