[Pkg-octave-commit] r2772 - in qtoctave/trunk/debian: . patches

Rafael Laboissiere rafael at alioth.debian.org
Wed Apr 1 22:01:43 UTC 2009


tags 521731 pending
thanks

Author: rafael
Date: 2009-04-01 22:01:42 +0000 (Wed, 01 Apr 2009)
New Revision: 2772

Added:
   qtoctave/trunk/debian/patches/font-option-in-png-export
Modified:
   qtoctave/trunk/debian/changelog
   qtoctave/trunk/debian/patches/series
Log:
Add patch for fixing png export problem

Modified: qtoctave/trunk/debian/changelog
===================================================================
--- qtoctave/trunk/debian/changelog	2009-03-28 22:05:43 UTC (rev 2771)
+++ qtoctave/trunk/debian/changelog	2009-04-01 22:01:42 UTC (rev 2772)
@@ -1,3 +1,11 @@
+qtoctave (0.8.1+dfsg-3) UNRELEASED; urgency=low
+
+  * debian/patche/font-option-in-png-export: When exporting a figure in
+    png format, give the correct font option to the print command,
+    prepending -F to Helvetica:12 (closes: #521731)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 01 Apr 2009 22:15:59 +0200
+
 qtoctave (0.8.1+dfsg-2) unstable; urgency=low
 
   * debian/control:

Added: qtoctave/trunk/debian/patches/font-option-in-png-export
===================================================================
--- qtoctave/trunk/debian/patches/font-option-in-png-export	                        (rev 0)
+++ qtoctave/trunk/debian/patches/font-option-in-png-export	2009-04-01 22:01:42 UTC (rev 2772)
@@ -0,0 +1,16 @@
+When exporting a figure in png format, give the correct font option to
+the print command, prepending -F to Helvetica:12 (fixes Bug#521731).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 01 Apr 2009 22:15:59 +0200
+
+--- a/src/menus/Plot/Export/png.menu
++++ b/src/menus/Plot/Export/png.menu
+@@ -12,7 +12,7 @@
+ end{output_list}
+ 
+ begin{command}
+-print ("%o1%", "%o2%", "Helvetica:12", "-dpng")
++print ("%o1%", "%o2%", "-FHelvetica:12", "-dpng")
+ end{command}
+ 
+ begin{help}

Modified: qtoctave/trunk/debian/patches/series
===================================================================
--- qtoctave/trunk/debian/patches/series	2009-03-28 22:05:43 UTC (rev 2771)
+++ qtoctave/trunk/debian/patches/series	2009-04-01 22:01:42 UTC (rev 2772)
@@ -2,3 +2,4 @@
 use_octave3.0-htmldoc
 move_doc_under_doc
 add_missing_includes
+font-option-in-png-export




More information about the Pkg-octave-commit mailing list