diff --git a/examples/swash_render/src/main.rs b/examples/swash_render/src/main.rs index 2bbf2ec1..74959d9d 100644 --- a/examples/swash_render/src/main.rs +++ b/examples/swash_render/src/main.rs @@ -80,6 +80,7 @@ fn main() { let mut layout: Layout = builder.build(); // Perform layout (including bidi resolution and shaping) with start alignment + layout.break_all_lines(max_advance); layout.align(max_advance, Alignment::Start); // Create image to render into