mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
TextLayout: Fix ignored AttributedText::getLineSpacing() parameter
This commit is contained in:
parent
5de96da34d
commit
04d9d36b15
3 changed files with 18 additions and 3 deletions
|
|
@ -421,7 +421,8 @@ void TextLayout::createStandardLayout (const AttributedString& text)
|
|||
.withLanguage (SystemStats::getUserLanguage())
|
||||
.withTrailingWhitespacesShouldFit (false)
|
||||
.withJustification (justification)
|
||||
.withReadingDirection (getTextDirection (text));
|
||||
.withReadingDirection (getTextDirection (text))
|
||||
.withAdditiveLineSpacing (text.getLineSpacing());
|
||||
|
||||
if (text.getWordWrap() != AttributedString::none)
|
||||
shapedTextOptions = shapedTextOptions.withMaxWidth (width);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue