diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-07-15 17:48:30 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-07-15 17:48:30 -0400 |
commit | bb69a557843b62d683595b35a8d3ee8e7771716a (patch) | |
tree | d6af6efcacee3ac09a68fa20892938630be78fd1 /gtk2_ardour/editor_rulers.cc | |
parent | 67788b713629637a2f8df08f7e15a274b81cf46e (diff) |
try to get font size for rulers right or at least better on OS X
Diffstat (limited to 'gtk2_ardour/editor_rulers.cc')
-rw-r--r-- | gtk2_ardour/editor_rulers.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc index d1a002e602..5dc93cde99 100644 --- a/gtk2_ardour/editor_rulers.cc +++ b/gtk2_ardour/editor_rulers.cc @@ -122,8 +122,14 @@ void Editor::initialize_rulers () { ruler_grabbed_widget = 0; + /* Not really sure why we can't get this right in a cross-platform way, + but it seems hard. + */ +#ifdef __APPLE__ + Pango::FontDescription font (ARDOUR_UI::config()->get_canvasvar_SmallerFont()); +#else Pango::FontDescription font (ARDOUR_UI::config()->get_canvasvar_SmallFont()); - +#endif _timecode_metric = new TimecodeMetric (this); _bbt_metric = new BBTMetric (this); _minsec_metric = new MinsecMetric (this); |