diff --git a/Cargo.lock b/Cargo.lock index 7b6cf31..6874b1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1527,7 +1527,7 @@ dependencies = [ [[package]] name = "cosmic-text" version = "0.14.2" -source = "git+https://github.com/pop-os/cosmic-text.git#c597f3755b5480678053dce1f47bb11b98b43aa2" +source = "git+https://github.com/pop-os/cosmic-text//?rev=b017d7c#b017d7c856aed4b1a3ef0952df75d02d889a1f7b" dependencies = [ "bitflags 2.9.1", "fontdb 0.23.0", diff --git a/Cargo.toml b/Cargo.toml index 8779d84..c5606e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,6 +67,10 @@ debug = true polling = { git = "https://github.com/jackpot51/polling.git", branch = "master" } xdg-mime = { git = "https://github.com/ellieplayswow/xdg-mime-rs", branch = "feature/get-same-as" } +# Fix text rendering being cut off on the right +[patch.'https://github.com/pop-os/cosmic-text'] +cosmic-text = { git = "https://github.com/pop-os/cosmic-text//", rev = "b017d7c" } + # [patch.'https://github.com/pop-os/libcosmic'] # libcosmic = { path = "../libcosmic" } # cosmic-config = { path = "../libcosmic/cosmic-config" }