diff --git a/examples/scenes/Cargo.toml b/examples/scenes/Cargo.toml index 7118d77..7037d28 100644 --- a/examples/scenes/Cargo.toml +++ b/examples/scenes/Cargo.toml @@ -12,7 +12,6 @@ repository.workspace = true [dependencies] vello = { path = "../../" } -vello_encoding = { path = "../../crates/encoding" } vello_svg = { path = "../../integrations/vello_svg" } anyhow = { workspace = true } clap = { workspace = true, features = ["derive"] } diff --git a/examples/scenes/src/simple_text.rs b/examples/scenes/src/simple_text.rs index 15ca0a2..717d0f1 100644 --- a/examples/scenes/src/simple_text.rs +++ b/examples/scenes/src/simple_text.rs @@ -19,12 +19,11 @@ use std::sync::Arc; use vello::{ fello::meta::MetadataProvider, fello::raw::FontRef, - glyph::GlyphContext, + glyph::{Glyph, GlyphContext}, kurbo::Affine, peniko::{Blob, Brush, BrushRef, Font, StyleRef}, SceneBuilder, }; -use vello_encoding::Glyph; // This is very much a hack to get things working. // On Windows, can set this to "c:\\Windows\\Fonts\\seguiemj.ttf" to get color emoji diff --git a/src/glyph.rs b/src/glyph.rs index 33f52eb..b388227 100644 --- a/src/glyph.rs +++ b/src/glyph.rs @@ -29,6 +29,8 @@ use { vello_encoding::Encoding, }; +pub use vello_encoding::Glyph; + /// General context for creating scene fragments for glyph outlines. pub struct GlyphContext { ctx: Context,