This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Text layout fix when using newlines with certain fonts on OSX.
tags/2021-05-28
jules
12 years ago
parent
4346fdb5f5
commit
13304ac410
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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;
}
Write
Preview
Loading…
Cancel
Save