From 34d6de83a0085916e150f3842c5d1a583f29898b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 11 Mar 2017 05:13:17 +0100 Subject: [PATCH] Disable Retina/Appple pango text-width workaround Fix right-alignment (tempo-markers) and oversized bounding-boxes. _width_correction should be removed after testing on various systems. --- libs/canvas/text.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/canvas/text.cc b/libs/canvas/text.cc index 5c3487f01d..f17df46615 100644 --- a/libs/canvas/text.cc +++ b/libs/canvas/text.cc @@ -110,7 +110,7 @@ Text::_redraw () const Glib::RefPtr context = _canvas->get_pango_context(); Glib::RefPtr layout = Pango::Layout::create (context); -#ifdef __APPLE__ +#if 0 // def __APPLE__ // Looks like this is no longer needed 2017-03-11, pango 1.36.8, pangomm 2.34.0 if (_width_correction < 0.0) { // Pango returns incorrect text width on some OS X // So we have to make a correction