From 5dd6c86843a6786f80e1f5fc542b94a02b04e8f9 Mon Sep 17 00:00:00 2001 From: Dongdong Zhou Date: Mon, 9 Oct 2023 20:24:03 +0100 Subject: [PATCH] bump cosmic-text --- renderer/Cargo.toml | 2 +- vger/Cargo.toml | 2 +- vger/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/renderer/Cargo.toml b/renderer/Cargo.toml index 02c199b0..15fc527a 100644 --- a/renderer/Cargo.toml +++ b/renderer/Cargo.toml @@ -8,5 +8,5 @@ license.workspace = true resvg = "0.33.0" image = { version = "0.24", features = ["jpeg", "png"] } peniko = { git = "https://github.com/linebender/peniko", rev = "cafdac9a211a0fb2fec5656bd663d1ac770bcc81" } -cosmic-text = { git = "https://github.com/lapce/cosmic-text", rev = "23555c6abf596c9a7fb1d4e604bf2711b0e58ed8" } +cosmic-text = { git = "https://github.com/lapce/cosmic-text", rev = "f645d6d504f3de6abebadb687b05c33021ac3e42" } # cosmic-text = { path = "../../cosmic-text" } diff --git a/vger/Cargo.toml b/vger/Cargo.toml index da4f8f6c..2b67ef68 100644 --- a/vger/Cargo.toml +++ b/vger/Cargo.toml @@ -12,7 +12,7 @@ futures = "0.3.26" anyhow = "1.0.69" peniko = { git = "https://github.com/linebender/peniko", rev = "cafdac9a211a0fb2fec5656bd663d1ac770bcc81" } swash = "0.1.8" -vger = { git = "https://github.com/lapce/vger-rs", rev = "9d34d2a29552760c446874db885cbe061f9e24ca" } +vger = { git = "https://github.com/lapce/vger-rs", rev = "2cb0c2b28fa7bbb98e7fa1f4527c8c27c4512067" } # vger = { path = "../../vger-rs" } image = { version = "0.24", features = ["jpeg", "png"] } floem_renderer = { path = "../renderer" } diff --git a/vger/src/lib.rs b/vger/src/lib.rs index c1bca94b..d0c7ec2d 100644 --- a/vger/src/lib.rs +++ b/vger/src/lib.rs @@ -1,7 +1,7 @@ use std::sync::Arc; use anyhow::Result; -use floem_renderer::cosmic_text::{SubpixelBin, SwashCache, SwashImage, TextLayout}; +use floem_renderer::cosmic_text::{SubpixelBin, SwashCache, TextLayout}; use floem_renderer::{tiny_skia, Img, Renderer}; use image::EncodableLayout; use peniko::{