projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67788b7
)
try to get font size for rulers right or at least better on OS X
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 15 Jul 2014 21:48:30 +0000
(17:48 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 15 Jul 2014 21:48:30 +0000
(17:48 -0400)
gtk2_ardour/editor_rulers.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_rulers.cc
b/gtk2_ardour/editor_rulers.cc
index d1a002e60248271259b9aa574ae0fdfbe9f410f1..5dc93cde993f2f4e208fcb9aba9bbdd1783df7c6 100644
(file)
--- 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);