From 74530c1ee66d504fb5099fc58a71f7aa4f8b7569 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Thu, 12 Sep 2024 22:06:02 +0700 Subject: [PATCH] parley: Fix swash example rendering. This line may have been mistakenly removed in #106 (14070d547913e407abf8c7cad2d5ca7fcd00cb59). Fix #114. --- examples/swash_render/src/main.rs | 1 + 1 file changed, 1 insertion(+) 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