Skip to content

Commit

Permalink
Remove the glyph module entirely - this code was unused
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Sep 23, 2024
1 parent a091b64 commit 024481a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 161 deletions.
6 changes: 2 additions & 4 deletions examples/scenes/src/simple_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@

use std::sync::Arc;

use vello::glyph::Glyph;
use vello::kurbo::Affine;
use vello::peniko::{Blob, Brush, BrushRef, Color, Font, StyleRef};
use vello::skrifa::raw::FontRef;
use vello::skrifa::MetadataProvider;
use vello::Scene;
use vello::skrifa::{raw::FontRef, MetadataProvider};
use vello::{Glyph, Scene};

// 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
Expand Down
154 changes: 0 additions & 154 deletions vello/src/glyph.rs

This file was deleted.

4 changes: 1 addition & 3 deletions vello/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@ pub use peniko;
/// 2D geometry, with a focus on curves.
pub use peniko::kurbo;

#[doc(hidden)]
pub use skrifa;

pub mod glyph;
pub use vello_encoding::Glyph;

#[cfg(feature = "wgpu")]
pub use wgpu;
Expand Down

0 comments on commit 024481a

Please sign in to comment.