From e1804dcf3d099826493e553e870e4fd613266709 Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Mon, 16 Dec 2013 08:15:12 +0200 Subject: Fix build with HarfBuzz-NG older than 0.9.20 It is annoying that HB maintains binary compatibility but does not really care about source compatibility. Change-Id: Ife7b011919f28527b77858ad8398fe723c65b1b3 Reviewed-by: Lars Knoll --- src/gui/text/qtextengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/text/qtextengine.cpp b/src/gui/text/qtextengine.cpp index a1206ab3d5..4e1c8c4c4a 100644 --- a/src/gui/text/qtextengine.cpp +++ b/src/gui/text/qtextengine.cpp @@ -1098,7 +1098,7 @@ int QTextEngine::shapeTextWithHarfbuzzNG(const QScriptItem &si, const ushort *st hb_buffer_set_segment_properties(buffer, &props); hb_buffer_guess_segment_properties(buffer); - uint buffer_flags = HB_BUFFER_FLAG_DEFAULT; + uint buffer_flags = 0; // HB_BUFFER_FLAG_DEFAULT // Symbol encoding used to encode various crap in the 32..255 character code range, // and thus might override U+00AD [SHY]; avoid hiding default ignorables if (actualFontEngine->symbol) -- cgit v1.2.3