Skip to content

Commit 78d9f05

Browse files
authored
Update cosmic-text to 0.14 (#18651)
# Objective New cosmic-text version is out, we should use it. ## Solution Bump the version. ## Testing Code compiles, text example works
1 parent 9167f02 commit 78d9f05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/bevy_text/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ bevy_platform = { path = "../bevy_platform", version = "0.16.0-dev", default-fea
3333
] }
3434

3535
# other
36-
cosmic-text = { version = "0.13", features = ["shape-run-cache"] }
36+
cosmic-text = { version = "0.14", features = ["shape-run-cache"] }
3737
thiserror = { version = "2", default-features = false }
3838
serde = { version = "1", features = ["derive"] }
3939
smallvec = "1.13"

crates/bevy_text/src/pipeline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ impl TextPipeline {
188188
buffer.set_rich_text(
189189
font_system,
190190
spans_iter,
191-
Attrs::new(),
191+
&Attrs::new(),
192192
Shaping::Advanced,
193193
Some(justify.into()),
194194
);

0 commit comments

Comments
 (0)