[gnome-sudoku/gnome-3-16] Use default font for printed numbers in partially-solved sudokus
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku/gnome-3-16] Use default font for printed numbers in partially-solved sudokus
- Date: Sun, 22 Feb 2015 02:36:40 +0000 (UTC)
commit d920180efb7201c4960331011d5943a3786ff4e1
Author: iulianR <iulian radu67 gmail com>
Date: Sat Feb 21 18:21:50 2015 +0200
Use default font for printed numbers in partially-solved sudokus
https://bugzilla.gnome.org/show_bug.cgi?id=739788
src/sudoku-printer.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sudoku-printer.vala b/src/sudoku-printer.vala
index dfc77b5..500e321 100644
--- a/src/sudoku-printer.vala
+++ b/src/sudoku-printer.vala
@@ -225,7 +225,7 @@ public class SudokuPrinter : GLib.Object {
}
else
{
- cr.select_font_face ("Times", Cairo.FontSlant.ITALIC, FONT_WEIGHT);
+ cr.select_font_face ("Sans", Cairo.FontSlant.ITALIC, FONT_WEIGHT);
cr.set_source_rgb (PENCIL_GREY[0], PENCIL_GREY[1], PENCIL_GREY[2]);
}
cr.text_extents (letter, out extents);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]