Update cosmic-text to 0.14

This commit is contained in:
Héctor Ramón Jiménez 2025-04-09 18:40:38 +02:00
parent c77c4aadd1
commit 6bf6fc60c9
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
6 changed files with 25 additions and 25 deletions

View file

@ -47,7 +47,7 @@ impl Text {
let mut buffer = cosmic_text::BufferLine::new(
&self.content,
cosmic_text::LineEnding::default(),
cosmic_text::AttrsList::new(text::to_attributes(self.font)),
cosmic_text::AttrsList::new(&text::to_attributes(self.font)),
text::to_shaping(self.shaping),
);