Merge branch 'master' into jgrpp

# Conflicts:
#	src/os/windows/crashlog_win.cpp
#	src/os/windows/font_win32.cpp
#	src/os/windows/win32.cpp
#	src/os/windows/win32.h
#	src/video/win32_v.cpp
#	src/video/win32_v.h
This commit is contained in:
Jonathan G Rennison
2024-01-12 18:57:14 +00:00
27 changed files with 378 additions and 112 deletions

View File

@@ -256,6 +256,11 @@ std::unique_ptr<const ParagraphLayouter::Line> FallbackParagraphLayout::NextLine
next_run = this->buffer_begin + iter->first;
begin = this->buffer;
/* Since a next run is started, there is already some text that
* will be shown for this line. However, we do not want to break
* this line at the previous space, so pretend we passed a space
* just before this next run. */
last_space = begin - 1;
}
if (IsWhitespace(c)) last_space = this->buffer;