From e4a0c2971b5aeac761cc74e0c41ec3da5710ac1b Mon Sep 17 00:00:00 2001 From: Harrison Booth <73434116+Harrison-Booth@users.noreply.github.com> Date: Mon, 2 Nov 2026 22:07:16 -0600 Subject: [PATCH] Keep Thai distributed text rendering outside this change --- crates/text/src/layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/text/src/layout.rs b/crates/text/src/layout.rs index c52b840a2..87b89194e 100644 --- a/crates/text/src/layout.rs +++ b/crates/text/src/layout.rs @@ -418,7 +418,7 @@ fn justify_line(p: &ParaShaped, rl: &RawLine, adv: &mut [f64], align: Align, sla filled = true; } } - if stretch && !filled && matches!(align, Align::Justify | Align::JustLow | Align::ThaiDistributed) { + if stretch && !filled && matches!(align, Align::Justify | Align::JustLow) { let spaces = line_cells.iter().filter(|c| c.ch == ' ').count(); if spaces > 0 { for (a, c) in adv.iter_mut().zip(line_cells) {