Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
baseplate-admin committed Jun 17, 2024
1 parent 1c92c61 commit f80a644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rust/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Based on
* https://github.com/mrdotb/resvg_nif/blob/master/native/resvg/src/lib.rs
*/

use std::sync::Arc;


use pyo3::prelude::*;
use resvg;
Expand Down Expand Up @@ -332,7 +332,7 @@ fn svg_to_bytes(
default_size,
image_href_resolver: resvg::usvg::ImageHrefResolver::default(),
font_resolver: resvg::usvg::FontResolver::default(),
fontdb: Arc::new(resvg::usvg::fontdb::Database::new()),
fontdb: std::sync::Arc::new(resvg::usvg::fontdb::Database::new()),
};


Expand Down

0 comments on commit f80a644

Please sign in to comment.