various fixes for places that used get_font_for_style() ... converted to use UIConfiguration::get_canvasvar_*Font()

Conflicts:
	gtk2_ardour/mono_panner.cc
This commit is contained in:
Paul Davis 2014-06-18 23:49:07 -04:00
parent 4311b70d4f
commit 7f63055578
4 changed files with 4 additions and 5 deletions

View file

@ -613,7 +613,7 @@ meter_render_metrics (Gtk::Widget& w, MeterType type, vector<DataType> types)
Pango::AttrFontDesc* font_attr;
Pango::FontDescription font;
font = Pango::FontDescription ("ArdourMono");
font = Pango::FontDescription (ARDOUR_UI::config()->get_canvasvar_SmallMonospaceFont());
double fixfontsize = 81920.0 / (double) ARDOUR::Config->get_font_scale();
font.set_weight (Pango::WEIGHT_NORMAL);