mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
try to get font size for rulers right or at least better on OS X
This commit is contained in:
parent
67788b7136
commit
bb69a55784
1 changed files with 7 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue