Skip to content

Commit

Permalink
fixed file reference error
Browse files Browse the repository at this point in the history
  • Loading branch information
tooxo committed Jan 25, 2024
1 parent d61bf33 commit e4d33e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn main() {
let ranked = RankedWords::rank(f);

let mut font_bts = Vec::from(include_bytes!("assets/OpenSans-Regular.ttf") as &[u8]);
let test_image = include_bytes!("assets/1000x1000bb.png") as &[u8];
let test_image = include_bytes!("assets/circ.png") as &[u8];

let font_set = FontSetBuilder::new()
.push(Font::from_data(&mut font_bts).expect("couldn't parse font data"))
Expand Down

0 comments on commit e4d33e6

Please sign in to comment.