[SCM] FreeHEP GraphicsIO Base Library branch, build, updated. debian/2.1.1-2-14-g9efd4c5
Giovanni Mascellani
mascellani at poisson.phc.unipi.it
Sat Feb 11 21:16:05 UTC 2012
The following commit has been merged in the build branch:
commit 18245572c3987c8e118b07391748bd82cb815f96
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date: Sat Feb 11 15:21:01 2012 +0100
Update patches.
diff --git a/debian/patches/patch/jlatexmath.diff b/debian/patches/patch/jlatexmath.diff
new file mode 100644
index 0000000..94a4c7d
--- /dev/null
+++ b/debian/patches/patch/jlatexmath.diff
@@ -0,0 +1,37 @@
+From: Giovanni Mascellani <gio at debian.org>
+Subject: [PATCH] patch/jlatexmath
+
+Fix writing JLaTeXMath to PDF.
+
+Signed-off-by: Giovanni Mascellani <gio at debian.org>
+
+---
+ .../graphicsio/AbstractVectorGraphicsIO.java | 9 ++++++---
+ 1 files changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java b/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java
+index b68a583..0eb3a1e 100644
+--- a/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java
++++ b/src/main/java/org/freehep/graphicsio/AbstractVectorGraphicsIO.java
+@@ -797,13 +797,16 @@ public abstract class AbstractVectorGraphicsIO extends VectorGraphicsIO {
+ * Clears any existing transformation and sets the a new one.
+ * The default implementation calls writeTransform using the
+ * inverted affine transform to calculate it.
+-s *
++ *
++ * new version by Calixte Denizet
++ * fixes eg writing output from JLaTeXMath -> PDF
++ *
+ * @param transform to be written
+ */
+ protected void writeSetTransform(AffineTransform transform) throws IOException {
+ try {
+- AffineTransform deltaTransform = new AffineTransform(transform);
+- deltaTransform.concatenate(oldTransform.createInverse());
++ AffineTransform deltaTransform = new AffineTransform(oldTransform.createInverse());
++ deltaTransform.concatenate(transform);
+ writeTransform(deltaTransform);
+ } catch (NoninvertibleTransformException e) {
+ // ignored...
+--
+tg: (5535437..) patch/jlatexmath (depends on: master)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..671e719
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+patch/jlatexmath.diff -p1
--
FreeHEP GraphicsIO Base Library
More information about the pkg-java-commits
mailing list