forked from firka/flutter
aeb54d46dc07187cd52e7b1cfb8b59ad4ed543be
minikin::LineBreaker does not convert newline characters into line breaks in its output. Previously libtxt's version of LineBreaker container a patch that added a large width offset for a newline in order to force wrapping to the next line. This works if the offset exceeds the paragraph's width constraint. But if the paragraph is laid out with infinite width, then the text after the newline will continue on the current output line. This change separates the paragraph's text into newline delimited blocks and feeds each block separately to the minikin LineBreaker. Also, libtxt was breaking the input styled text runs at newline boundaries. This is no longer necessary.
Description
No description provided
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%