Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Nov 2, 2024
1 parent 68e7ec9 commit a34cc93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/krilla/src/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,10 @@ mod tests {
#[visreg]
fn svg_with_filter(surface: &mut Surface) {
let data = std::fs::read(SVGS_PATH.join("small_text_with_filter.svg")).unwrap();
let tree = usvg::Tree::from_data(&data, &usvg::Options::default()).unwrap();
let tree = usvg::Tree::from_data(&data, &usvg::Options {
fontdb: FONTDB.clone(),
..usvg::Options::default()
}).unwrap();

surface.draw_svg(
&tree,
Expand Down
Binary file added refs/visreg/svg_with_filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a34cc93

Please sign in to comment.