From 0a03c98910c9bcb5192c2cc976bcf2c86d6efc74 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 26 Oct 2015 15:59:16 +0100 Subject: Use Cantarell font to build versioned logo. Requires fonts-cantarell to be available at build time. --- debian/control | 1 + po/POTFILES.skip | 1 - src/logo-generator.vala | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 777a96c..cdf2596 100644 --- a/debian/control +++ b/debian/control @@ -7,6 +7,7 @@ Build-Depends: at-spi2-core, dbus-x11, debhelper (>= 9), dh-autoreconf, + fonts-cantarell, gnome-common, gnome-settings-daemon-dev, libcanberra-dev, diff --git a/po/POTFILES.skip b/po/POTFILES.skip index a632d39..36d364b 100644 --- a/po/POTFILES.skip +++ b/po/POTFILES.skip @@ -29,4 +29,3 @@ tests/session-list.c tests/shutdown-dialog.c tests/toggle-box.c tests/user-list.c - diff --git a/src/logo-generator.vala b/src/logo-generator.vala index 244c4b3..14cde0d 100644 --- a/src/logo-generator.vala +++ b/src/logo-generator.vala @@ -33,7 +33,7 @@ public class Main : Object context.translate (logo.get_width() + 0.25*logo.get_height(), logo.get_height()); var font_description = new Pango.FontDescription(); - font_description.set_family("Ubuntu"); + font_description.set_family("Cantarell"); font_description.set_size((int)(0.75*logo.get_height() * Pango.SCALE)); var layout = Pango.cairo_create_layout (context); layout.set_font_description (font_description); -- cgit v1.2.3