aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-26 15:59:16 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-26 15:59:16 +0100
commit0a03c98910c9bcb5192c2cc976bcf2c86d6efc74 (patch)
treef847a8a5b7f160583b3ca649b9bb9a16425ea49a
parent5811d62df7f7df3855815ef36d3aeab3a27f7223 (diff)
downloadarctica-greeter-0a03c98910c9bcb5192c2cc976bcf2c86d6efc74.tar.gz
arctica-greeter-0a03c98910c9bcb5192c2cc976bcf2c86d6efc74.tar.bz2
arctica-greeter-0a03c98910c9bcb5192c2cc976bcf2c86d6efc74.zip
Use Cantarell font to build versioned logo. Requires fonts-cantarell to be available at build time.
-rw-r--r--debian/control1
-rw-r--r--po/POTFILES.skip1
-rw-r--r--src/logo-generator.vala2
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);