fix: pin cosmic-text to b017d7c to fix cut text

This commit is contained in:
Michael Aaron Murphy 2025-06-20 19:39:34 +02:00 • committed by Jeremy Soller
parent f570b4089c
commit 0b9794414c
2 changed files with 5 additions and 1 deletions

2
Cargo.lock generated
View file

@ -1527,7 +1527,7 @@ dependencies = [
[[package]] [[package]]
name = "cosmic-text" name = "cosmic-text"
version = "0.14.2" 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 = [ dependencies = [
"bitflags 2.9.1", "bitflags 2.9.1",
"fontdb 0.23.0", "fontdb 0.23.0",

View file

@ -67,6 +67,10 @@ debug = true
polling = { git = "https://github.com/jackpot51/polling.git", branch = "master" } 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" } 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'] # [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { path = "../libcosmic" } # libcosmic = { path = "../libcosmic" }
# cosmic-config = { path = "../libcosmic/cosmic-config" } # cosmic-config = { path = "../libcosmic/cosmic-config" }