Fix complex-shaped Ui::Text::String geometry.
This commit is contained in:
parent
bdf4ff34f2
commit
2385fb30b5
1 changed files with 2 additions and 0 deletions
|
|
@ -984,6 +984,8 @@ void String::enumerateLines(
|
||||||
return withElided(true);
|
return withElided(true);
|
||||||
}
|
}
|
||||||
lineHeight = 0;
|
lineHeight = 0;
|
||||||
|
last_rBearing = 0;// b->f_rbearing(); (0 for newline)
|
||||||
|
last_rPadding = 0;// b->f_rpadding(); (0 for newline)
|
||||||
|
|
||||||
initNextParagraph(i + 1, index);
|
initNextParagraph(i + 1, index);
|
||||||
longWordLine = true;
|
longWordLine = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue