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

@ -85,7 +85,7 @@ impl core::text::Paragraph for Paragraph {
buffer.set_text(
font_system.raw(),
text.content,
text::to_attributes(text.font),
&text::to_attributes(text.font),
text::to_shaping(text.shaping),
);
@ -154,7 +154,7 @@ impl core::text::Paragraph for Paragraph {
(span.text.as_ref(), attrs.metadata(i))
}),
text::to_attributes(text.font),
&text::to_attributes(text.font),
text::to_shaping(text.shaping),
None,
);