Remove direct dependency on ttf_parser (#947)

Because ttf_parser updated, rustybuzz was using an older version.
This commit is contained in:
locriacyber
2023-01-07 16:40:59 +00:00
committed by Keavon Chambers
parent 8e9d097fcc
commit 1a6ee7c542
3 changed files with 18 additions and 22 deletions
+1 -4
View File
@@ -24,7 +24,4 @@ kurbo = { git = "https://github.com/linebender/kurbo.git", features = [
serde = { version = "1.0", features = ["derive"] }
base64 = "0.13"
glam = { version = "0.22", features = ["serde"] }
# Font rendering
rustybuzz = "*"
ttf-parser = "*" # Version from rustybuzz
rustybuzz = "0.6.0"
@@ -4,8 +4,8 @@ use graphene_std::vector::manipulator_point::ManipulatorPoint;
use graphene_std::vector::subpath::Subpath;
use glam::DVec2;
use rustybuzz::ttf_parser::{GlyphId, OutlineBuilder};
use rustybuzz::{GlyphBuffer, UnicodeBuffer};
use ttf_parser::{GlyphId, OutlineBuilder};
struct Builder {
path: Subpath,