Fix complex-shaped Ui::Text::String geometry.

This commit is contained in:
John Preston 2024-04-02 22:50:38 +04:00
parent bdf4ff34f2
commit 2385fb30b5

View file

@ -984,6 +984,8 @@ void String::enumerateLines(
return withElided(true);
}
lineHeight = 0;
last_rBearing = 0;// b->f_rbearing(); (0 for newline)
last_rPadding = 0;// b->f_rpadding(); (0 for newline)
initNextParagraph(i + 1, index);
longWordLine = true;