mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
We previously sent a " " to the linebreaker in order to ensure that the next text had a soft wrap opportunity at the start. Calling `next(" ")` without waiting until the returned index was 1, violated some invariants of linebreaker ultimately causing a panic. Instead of using the linebreaker for this, simply keep a flag in the IFC layout state, which avoids the problem entirely. Fixes #30703. |
||
---|---|---|
.. | ||
shaping | ||
glyph.rs | ||
mod.rs | ||
text_run.rs | ||
util.rs |