From 60b429806f366baaffbc22592148c7962fd3f2b4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 17 Jul 2013 22:39:55 +0200 Subject: [PATCH] use ArdourMono font for metric patterns --- gtk2_ardour/meter_patterns.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/meter_patterns.cc b/gtk2_ardour/meter_patterns.cc index 2704e4555d..9a2cab00b5 100644 --- a/gtk2_ardour/meter_patterns.cc +++ b/gtk2_ardour/meter_patterns.cc @@ -244,9 +244,7 @@ meter_render_metrics (Gtk::Widget& w, vector types) Pango::AttrFontDesc* font_attr; Pango::FontDescription font; - font = Pango::FontDescription (""); // use defaults - //font = get_font_for_style("gain-fader"); - //font = w.get_style()->get_font(); + font = Pango::FontDescription ("ArdourMono"); font.set_weight (Pango::WEIGHT_NORMAL); font.set_size (9.0 * PANGO_SCALE); @@ -256,12 +254,12 @@ meter_render_metrics (Gtk::Widget& w, vector types) font.set_weight (Pango::WEIGHT_ULTRALIGHT); font.set_stretch (Pango::STRETCH_ULTRA_CONDENSED); - font.set_size (7.5 * PANGO_SCALE); + font.set_size (8.0 * PANGO_SCALE); font_attr = new Pango::AttrFontDesc (Pango::Attribute::create_attr_font_desc (font)); midi_font_attributes.change (*font_attr); delete font_attr; - font.set_size (7.0 * PANGO_SCALE); + font.set_size (6.0 * PANGO_SCALE); font_attr = new Pango::AttrFontDesc (Pango::Attribute::create_attr_font_desc (font)); unit_font_attributes.change (*font_attr); delete font_attr;