https://bugs.kde.org/show_bug.cgi?id=372629

--- Comment #9 from RJVB <rjvber...@gmail.com> ---
FWIW, this seems to work acceptably for me:

```C++
void KateRenderer::updateFontHeight()
{
    // use height of font + round down, ensure we have at least one pixel
    // we round down to avoid artifacts: line height too large vs. qt
background rendering of text attributes
    const qreal height = config()->fontMetrics().height();
#ifdef Q_OS_OSX
    m_fontHeight = qMax(1, qFloor(1.005f * height));
#else
    m_fontHeight = qMax(1, qFloor(height));
#endif
}

```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to