Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-sudoku for openSUSE:Factory 
checked in at 2021-07-26 17:38:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-sudoku (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-sudoku.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-sudoku"

Mon Jul 26 17:38:13 2021 rev:41 rq:908367 version:40.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-sudoku/gnome-sudoku.changes        
2021-05-06 22:52:57.074669336 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-sudoku.new.1899/gnome-sudoku.changes      
2021-07-26 17:38:37.594055894 +0200
@@ -1,0 +2,6 @@
+Sat Jul 24 16:16:13 UTC 2021 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 40.2:
+  + Fix complex text in printed sudokus.
+
+-------------------------------------------------------------------

Old:
----
  gnome-sudoku-40.1.tar.xz

New:
----
  gnome-sudoku-40.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-sudoku.spec ++++++
--- /var/tmp/diff_new_pack.Bxqe3G/_old  2021-07-26 17:38:38.014055389 +0200
+++ /var/tmp/diff_new_pack.Bxqe3G/_new  2021-07-26 17:38:38.018055384 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           gnome-sudoku
-Version:        40.1
+Version:        40.2
 Release:        0
 Summary:        Sudoku Game for GNOME
 License:        GPL-3.0-or-later

++++++ gnome-sudoku-40.1.tar.xz -> gnome-sudoku-40.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-sudoku-40.1/NEWS new/gnome-sudoku-40.2/NEWS
--- old/gnome-sudoku-40.1/NEWS  2021-04-29 17:02:19.446687000 +0200
+++ new/gnome-sudoku-40.2/NEWS  2021-07-23 19:06:08.351797800 +0200
@@ -1,3 +1,8 @@
+40.2 - July 23, 2021
+====================
+
+- Fix complex text in printed sudokus (#52)
+
 40.1 - April 29, 2021
 =====================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-sudoku-40.1/data/org.gnome.Sudoku.appdata.xml.in 
new/gnome-sudoku-40.2/data/org.gnome.Sudoku.appdata.xml.in
--- old/gnome-sudoku-40.1/data/org.gnome.Sudoku.appdata.xml.in  2021-04-29 
17:02:19.447687100 +0200
+++ new/gnome-sudoku-40.2/data/org.gnome.Sudoku.appdata.xml.in  2021-07-23 
19:06:08.352797700 +0200
@@ -47,6 +47,7 @@
     <kudo>UserDocs</kudo>
   </kudos>
   <releases>
+    <release version="40.2" date="2021-07-23" />
     <release version="40.1" date="2021-04-29" />
     <release version="40.0" date="2021-03-22" />
     <release version="40~alpha" date="2021-01-07" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-sudoku-40.1/help/es/es.po 
new/gnome-sudoku-40.2/help/es/es.po
--- old/gnome-sudoku-40.1/help/es/es.po 2021-04-29 17:02:19.451687000 +0200
+++ new/gnome-sudoku-40.2/help/es/es.po 2021-07-23 19:06:08.359798000 +0200
@@ -3,27 +3,27 @@
 # 
 # 
 # Rodrigo <rodho...@gmail.com>, 2018.
-# Daniel Mustieles <daniel.mustie...@gmail.com>, 2010-2020.
+# Daniel Mustieles <daniel.mustie...@gmail.com>, 2010-2021.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: gnome-sudoku.HEAD\n"
-"POT-Creation-Date: 2020-03-01 08:38+0000\n"
-"PO-Revision-Date: 2020-03-04 16:49+0100\n"
+"POT-Creation-Date: 2021-04-29 16:14+0000\n"
+"PO-Revision-Date: 2021-05-10 13:12+0200\n"
 "Last-Translator: Daniel Mustieles <daniel.mustie...@gmail.com>\n"
-"Language-Team: es <gnome-es-l...@gnome.org>\n"
-"Language: es\n"
+"Language-Team: Spanish - Spain <gnome-es-l...@gnome.org>\n"
+"Language: es_ES\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Gtranslator 3.34.0\n"
+"X-Generator: Gtranslator 40.0\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
 msgctxt "_"
 msgid "translator-credits"
 msgstr ""
-"Daniel Mustieles <daniel.mustie...@gmail.com>, 2011 - 2020\n"
+"Daniel Mustieles <daniel.mustie...@gmail.com>, 2011 - 2021\n"
 "Rodrigo Lled?? <rodho...@gmail.com>, 2018\n"
 "Jorge Gonz??lez <jorgeg...@svn.gnome.org>, 2007 - 2010"
 
@@ -33,7 +33,7 @@
 msgstr "Chris Beiser"
 
 #. (itstool) path: credit/years
-#: C/basics.page:11 C/bug-filing.page:12 C/develop.page:12
+#: C/basics.page:11 C/bug-filing.page:11 C/develop.page:12
 #: C/documentation.page:10 C/earmarks.page:11 C/highlighting.page:15
 #: C/index.page:17 C/keyboard-shortcuts.page:12 C/print-blank-puzzles.page:10
 #: C/print-inprogress-game.page:14 C/rules.page:13 C/save-resume.page:13
@@ -48,7 +48,7 @@
 msgstr "Michael Hill"
 
 #. (itstool) path: license/p
-#: C/basics.page:18 C/bug-filing.page:15 C/develop.page:15
+#: C/basics.page:18 C/bug-filing.page:14 C/develop.page:15
 #: C/documentation.page:13 C/earmarks.page:22 C/highlighting.page:18
 #: C/keyboard-shortcuts.page:19 C/print-blank-puzzles.page:19
 #: C/print-inprogress-game.page:17 C/rules.page:16 C/save-resume.page:20
@@ -127,7 +127,7 @@
 "casilla y elija <gui>Limpiar</gui>."
 
 #. (itstool) path: credit/name
-#: C/bug-filing.page:10 C/develop.page:10 C/documentation.page:8
+#: C/bug-filing.page:9 C/develop.page:10 C/documentation.page:8
 #: C/highlighting.page:13 C/index.page:15 C/keyboard-shortcuts.page:15
 #: C/print-blank-puzzles.page:11 C/print-inprogress-game.page:12
 #: C/strategy.page:14 C/translate.page:10
@@ -135,12 +135,12 @@
 msgstr "Tiffany Antopolski"
 
 #. (itstool) path: page/title
-#: C/bug-filing.page:19
+#: C/bug-filing.page:18
 msgid "Report a Problem"
 msgstr "Informar de un error"
 
 #. (itstool) path: page/p
-#: C/bug-filing.page:20
+#: C/bug-filing.page:19
 msgid ""
 "<app>GNOME Sudoku</app> is maintained by a volunteer community. You are "
 "welcome to participate. If you notice a problem you can file a <em>bug "
@@ -153,7 +153,7 @@
 "\"https://gitlab.gnome.org/GNOME/gnome-sudoku/issues/\"/>."
 
 #. (itstool) path: page/p
-#: C/bug-filing.page:23
+#: C/bug-filing.page:22
 msgid ""
 "This is a bug tracking system where users and developers can file details "
 "about bugs, crashes and request enhancements."
@@ -164,7 +164,7 @@
 
 # Gitlab no est?? traducido al espa??ol
 #. (itstool) path: page/p
-#: C/bug-filing.page:26
+#: C/bug-filing.page:25
 msgid ""
 "To participate you need an account which will give you the ability to gain "
 "access, file bugs, and make comments. Also, you need to register so you can "
@@ -179,13 +179,7 @@
 "<gui>Sign in / Register</gui> para crear una."
 
 #. (itstool) path: page/p
-#: C/bug-filing.page:30
-#| msgid ""
-#| "Once you have an account, log in, and click on <gui>New issue</gui>. "
-#| "Before reporting a bug, please read the <link href=\"https://bugzilla.";
-#| "gnome.org/page.cgi?id=bug-writing.html\">bug writing guidelines</link>, "
-#| "and please <link href=\"https://gitlab.gnome.org/GNOME/gnome-sudoku/issues";
-#| "\">browse</link> for the bug to see if it already exists."
+#: C/bug-filing.page:29
 msgid ""
 "Once you have an account, log in, and click on <gui>New issue</gui>. Before "
 "reporting a bug, please read the <link href=\"https://wiki.gnome.org/";
@@ -200,7 +194,7 @@
 "issues\">busque</link> el error para ver si ya existe."
 
 #. (itstool) path: page/p
-#: C/bug-filing.page:34
+#: C/bug-filing.page:33
 msgid ""
 "If you are requesting a new feature, choose <gui>1. Feature</gui> in the "
 "<gui>Labels</gui> menu. Fill in the Title and Description sections and click "
@@ -211,7 +205,7 @@
 "pulse <gui>Submit Issue</gui>."
 
 #. (itstool) path: page/p
-#: C/bug-filing.page:38
+#: C/bug-filing.page:37
 msgid ""
 "Your report will be given an ID number, and its status will be updated as it "
 "is being dealt with."
@@ -368,6 +362,14 @@
 "\"menuitem\">Resaltador</gui>."
 
 #. (itstool) path: info/title
+#: C/index.page:6
+#| msgctxt "link"
+#| msgid "GNOME Sudoku"
+msgctxt "link:trail"
+msgid "GNOME Sudoku"
+msgstr "GNOME Sudoku"
+
+#. (itstool) path: info/title
 #: C/index.page:7
 msgctxt "link"
 msgid "GNOME Sudoku"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-sudoku-40.1/meson.build 
new/gnome-sudoku-40.2/meson.build
--- old/gnome-sudoku-40.1/meson.build   2021-04-29 17:02:19.453687200 +0200
+++ new/gnome-sudoku-40.2/meson.build   2021-07-23 19:06:08.363798100 +0200
@@ -4,7 +4,7 @@
   ],
   license: 'GPL3+',
   meson_version: '>= 0.50',
-  version: '40.1'
+  version: '40.2'
 )
 application_id = 'org.gnome.Sudoku'
 add_project_arguments([
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-sudoku-40.1/src/sudoku-printer.vala 
new/gnome-sudoku-40.2/src/sudoku-printer.vala
--- old/gnome-sudoku-40.1/src/sudoku-printer.vala       2021-04-29 
17:02:19.473687600 +0200
+++ new/gnome-sudoku-40.2/src/sudoku-printer.vala       2021-07-23 
19:06:08.386798600 +0200
@@ -93,18 +93,27 @@
 
         uint index = 0;
 
+        var pango_context = Pango.cairo_create_context (cr);
+        Pango.cairo_context_set_font_options (pango_context, 
Gdk.Screen.get_default ().get_font_options ());
+
         foreach (SudokuBoard sudoku in sudokus_on_page)
         {
             double left = margin_x + (index % n_across) * (best_square_size + 
margin_x);
             double top = margin_y + label_extents.height + (index / n_across) 
* (best_square_size + margin_y + label_extents.height);
 
             var label = sudoku.difficulty_category.to_string ();
-            set_label_font (cr);
+            var layout = new Pango.Layout (pango_context);
+            layout.set_font_description (Pango.FontDescription.from_string 
("Sans Bold 9"));
+            layout.set_text (label, -1);
+
+            int layout_width;
+            int layout_height;
+            layout.get_size (out layout_width, out layout_height);
+            layout_width /= Pango.SCALE;
+            layout_height /= Pango.SCALE;
+            cr.move_to (left + (best_square_size - layout_width) / 2, top - 
layout_height);
             cr.set_source_rgb (0, 0, 0);
-            Cairo.TextExtents extents;
-            cr.text_extents (label, out extents);
-            cr.move_to (left + (best_square_size - extents.width) / 2, top - 
extents.height / 2);
-            cr.show_text (label);
+            Pango.cairo_show_layout (cr, layout);
 
             draw_sudoku (cr, sudoku, best_square_size, left, top);
 

Reply via email to