[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian packaging of texlive-bin) branch, master, updated. debian/2013.20130522.30620-1-8-gaa73df8



The following commit has been merged in the master branch:
commit fa1c3c45a9d016ea3d4f482b4bfb100d1dcfa8ba
Author: Norbert Preining <preining@logic.at>
Date:   Wed May 22 22:14:51 2013 +0900

    fix svg size in mpost output (fix from Kitagawa Hironori)

diff --git a/debian/patches/mpost-fix-svg-size b/debian/patches/mpost-fix-svg-size
new file mode 100644
index 0000000..e3c8dce
--- /dev/null
+++ b/debian/patches/mpost-fix-svg-size
@@ -0,0 +1,16 @@
+Patch by Hironori Kitagawa to fix wrong sizes of mpost
+---
+ texk/web2c/mplibdir/svgout.w |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- texlive-bin.orig/texk/web2c/mplibdir/svgout.w
++++ texlive-bin/texk/web2c/mplibdir/svgout.w
+@@ -986,7 +986,7 @@
+    }
+   }  else {
+     mp_svg_open_starttag(mp, "text");
+-    ds=(mp->font_dsize[gr_font_n(p)]+8) / 16;
++    ds=(mp->font_dsize[gr_font_n(p)]+8) / 16 / 65536.0;
+     mp_svg_store_double(mp,ds);
+     mp_svg_attribute(mp, "font-size", mp->svg->buf);
+     mp_svg_reset_buf(mp);
diff --git a/debian/patches/series b/debian/patches/series
index 5cdfcf6..c4551f6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ debian-no-linked-scripts
 61_path_max.diff
 disable-t1lib-gd-dvipng
 pmpost-20130522
+mpost-fix-svg-size

-- 
Debian packaging of texlive-bin)


Reply to: