r11820 - in packages/trunk/jugglemaster/debian: . patches

Paul Wise pabs at alioth.debian.org
Mon Feb 21 08:17:51 UTC 2011


Author: pabs
Date: 2011-02-21 08:17:41 +0000 (Mon, 21 Feb 2011)
New Revision: 11820

Added:
   packages/trunk/jugglemaster/debian/patches/fix-style-rendering.patch
Modified:
   packages/trunk/jugglemaster/debian/changelog
   packages/trunk/jugglemaster/debian/patches/series
Log:
Fix printing text in images and videos

Modified: packages/trunk/jugglemaster/debian/changelog
===================================================================
--- packages/trunk/jugglemaster/debian/changelog	2011-02-21 07:27:07 UTC (rev 11819)
+++ packages/trunk/jugglemaster/debian/changelog	2011-02-21 08:17:41 UTC (rev 11820)
@@ -9,6 +9,7 @@
   * Add patch to fix hand movements during tricks (Closes: #537503)
   * Fix and enable the ffmpeg support (Closes: #597831)
   * (C) is not recognised, use Copyright instead
+  * Fix printing text in images and videos
 
  -- Paul Wise <pabs at debian.org>  Sat, 19 Feb 2011 10:22:44 +0800
 

Added: packages/trunk/jugglemaster/debian/patches/fix-style-rendering.patch
===================================================================
--- packages/trunk/jugglemaster/debian/patches/fix-style-rendering.patch	                        (rev 0)
+++ packages/trunk/jugglemaster/debian/patches/fix-style-rendering.patch	2011-02-21 08:17:41 UTC (rev 11820)
@@ -0,0 +1,13 @@
+Author: Paul Wise <pabs at debian.org>
+Description: Fix text rendering errors in the printing
+--- a/src/jmdlx/print.cpp
++++ b/src/jmdlx/print.cpp
+@@ -733,7 +733,7 @@
+ 		dc->DrawEllipse(j->b[i].gx, j->b[i].gy, diam, diam);
+ 	}
+ 	wxString balltext;
+-	balltext.Printf(wxT("Site: %s    Style: %s    Balls: %i"),j->getSite(),j->getStyle(),j->balln);
++	balltext.Printf(wxT("Site: %s    Style: %s    Balls: %i"),wxString(j->getSite(),wxConvUTF8).c_str(),wxString(j->getStyle(),wxConvUTF8).c_str(),j->balln);
+ 	dc->DrawText(balltext, 10, 10);
+ 
+ }

Modified: packages/trunk/jugglemaster/debian/patches/series
===================================================================
--- packages/trunk/jugglemaster/debian/patches/series	2011-02-21 07:27:07 UTC (rev 11819)
+++ packages/trunk/jugglemaster/debian/patches/series	2011-02-21 08:17:41 UTC (rev 11820)
@@ -5,3 +5,4 @@
 jmlib_sscanf_locale.patch
 jmlib_style_parsing.patch
 wx26_trans_ffmpeg.patch
+fix-style-rendering.patch




More information about the Pkg-games-commits mailing list