From f0ee31dc93813808a59a0fe576da120de2caf074 Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Thu, 4 Oct 2012 06:52:13 +0300 Subject: QTextBoundaryFinder: Introduce BoundaryReason::MandatoryBreak flag that will be returned by boundaryReasons() when the boundary finder is at the line end position (CR, LF, NewLine Function, End of Text, etc.). The MandatoryBreak flag, if set, means the text should be wrapped at a given position. Change-Id: I32d4f570935d2e015bfc5f18915396a15f009fde Reviewed-by: Konstantin Ritt Reviewed-by: Lars Knoll --- src/3rdparty/harfbuzz/src/harfbuzz-shaper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/3rdparty') diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h index 5a3329dd4b..e2891d047e 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h +++ b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h @@ -135,7 +135,7 @@ typedef struct { hb_bitfield whiteSpace : 1; /* A unicode whitespace character */ hb_bitfield wordStart : 1; hb_bitfield wordEnd : 1; - hb_bitfield unused : 1; + hb_bitfield mandatoryBreak : 1; } HB_CharAttributes; void HB_GetTailoredCharAttributes(const HB_UChar16 *string, hb_uint32 stringLength, -- cgit v1.2.3