summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextengine_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qtextengine_mac.cpp')
-rw-r--r--src/gui/text/qtextengine_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextengine_mac.cpp b/src/gui/text/qtextengine_mac.cpp
index e101830..eeccc72 100644
--- a/src/gui/text/qtextengine_mac.cpp
+++ b/src/gui/text/qtextengine_mac.cpp
@@ -557,7 +557,7 @@ void QTextEngine::shapeTextMac(int item) const
si.glyph_data_offset = layoutData->used;
- QFontEngine *font = fontEngine(si, &si.ascent, &si.descent);
+ QFontEngine *font = fontEngine(si, &si.ascent, &si.descent, &si.leading);
if (font->type() != QFontEngine::Multi) {
shapeTextWithHarfbuzz(item);
return;