[recipes] Improve the shopping list print layout a bit
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Improve the shopping list print layout a bit
- Date: Wed, 18 Jan 2017 18:44:48 +0000 (UTC)
commit 4ef9cc52da75b68b8bed279bc8261b24497c0bc0
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jan 18 13:43:58 2017 -0500
Improve the shopping list print layout a bit
Reduce font size the same as we did for recipe printing.
src/gr-shopping-list-printer.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gr-shopping-list-printer.c b/src/gr-shopping-list-printer.c
index 3b6ea37..95878a1 100644
--- a/src/gr-shopping-list-printer.c
+++ b/src/gr-shopping-list-printer.c
@@ -122,9 +122,9 @@ begin_print (GtkPrintOperation *operation,
height = gtk_print_context_get_height (context);
- title_font = pango_font_description_from_string ("Cantarell Bold 24");
- subtitle_font = pango_font_description_from_string ("Cantarell Bold 18");
- body_font = pango_font_description_from_string ("Cantarell 18");
+ title_font = pango_font_description_from_string ("Cantarell Bold 18");
+ subtitle_font = pango_font_description_from_string ("Cantarell Bold 12");
+ body_font = pango_font_description_from_string ("Cantarell 12");
printer->layout = gtk_print_context_create_pango_layout (context);
pango_layout_set_font_description (printer->layout, body_font);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]