Enable advanced shaping for text in iced widget helper

This commit is contained in:
Héctor Ramón Jiménez 2025-09-11 20:16:16 +02:00
parent 25b965d26a
commit f9de884655
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -1921,7 +1921,10 @@ where
row![
svg(LOGO.clone()).width(text_size * 1.3),
text("iced").size(text_size).font(Font::MONOSPACE)
text("iced")
.size(text_size)
.font(Font::MONOSPACE)
.shaping(text::Shaping::Advanced)
]
.spacing(text_size.0 / 3.0)
.align_y(Alignment::Center)