Browse Source

Text layout fix when using newlines with certain fonts on OSX.

tags/2021-05-28
jules 12 years ago
parent
commit
13304ac410
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_graphics/fonts/juce_TextLayout.cpp

+ 1
- 1
modules/juce_graphics/fonts/juce_TextLayout.cpp View File

@@ -547,7 +547,7 @@ namespace TextLayoutHelpers
{
String trimmed (s.trimEnd());
if (trimmed.isEmpty() && ! s.isEmpty())
trimmed = s;
trimmed = s.replaceCharacters ("\r\n\t", " ");
return trimmed;
}


Loading…
Cancel
Save