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:
@@ -418,7 +418,7 @@ static std::vector<SCRIPT_ITEM> UniscribeItemizeString(UniscribeParagraphLayoutF
|
||||
UniscribeRun run = *i_run;
|
||||
|
||||
/* Partial run after line break (either start or end)? Reshape run to get the first/last glyphs right. */
|
||||
if (i_run == last_run - 1 && remaining_offset < (last_run - 1)->len) {
|
||||
if (i_run == last_run - 1 && remaining_offset <= (last_run - 1)->len) {
|
||||
run.len = remaining_offset - 1;
|
||||
|
||||
if (!UniscribeShapeRun(this->text_buffer, run)) return nullptr;
|
||||
|
Reference in New Issue
Block a user