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.
This commit is contained in:
Robin Gareus 2017-03-11 05:13:17 +01:00
parent 1203d796de
commit 34d6de83a0

View File

@ -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