Skip to content

Commit

Permalink
parley: Fix swash example rendering.
Browse files Browse the repository at this point in the history
This line may have been mistakenly removed in #106
(14070d5).

Fix #114.
  • Loading branch information
waywardmonkeys committed Sep 12, 2024
1 parent f40a130 commit 74530c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/swash_render/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ fn main() {
let mut layout: Layout<Color> = 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
Expand Down

0 comments on commit 74530c1

Please sign in to comment.