summaryrefslogtreecommitdiff
path: root/libs/canvas
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-03-11 05:13:17 +0100
committerRobin Gareus <robin@gareus.org>2017-03-11 05:13:17 +0100
commit34d6de83a0085916e150f3842c5d1a583f29898b (patch)
treedacdf4e791f7625622b572e5a16e96c662937e56 /libs/canvas
parent1203d796de35cd7d6cdee4738e47f2a7c1d797c6 (diff)
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.
Diffstat (limited to 'libs/canvas')
-rw-r--r--libs/canvas/text.cc2
1 files changed, 1 insertions, 1 deletions
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<Pango::Context> context = _canvas->get_pango_context();
Glib::RefPtr<Pango::Layout> 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