You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
原因:painter.text 先把每段宽度加成 total,再从 total 里逐段减掉已画的宽度,把剩下的 left 当作下一段的可用宽度;只要 width > left 就调用 fit 截断。float32 下 total - w1 可能比 w2 小一点点,于是一行完全放得下的文字最后一段也被截断。这段逻辑在 270e712(#2183)中引入。
Activity
fix(desktop): 插件画布多段文字整行放得下时不再截断最后一段 (#2309) (#2310)