Skip to content

Commit

Permalink
Use stable svgtypes version.
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed Sep 12, 2021
1 parent a77b815 commit c5262c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion c-api/ResvgQt.h
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ class ResvgRenderer {

const auto utf8Str = id.toUtf8();
const auto rawId = utf8Str.constData();
resvg_rect bbox;
resvg_path_bbox bbox;
if (resvg_get_node_bbox(d->tree, rawId, &bbox))
return QRectF(bbox.x, bbox.y, bbox.width, bbox.height);

Expand Down
2 changes: 1 addition & 1 deletion usvg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ xmlwriter = { version = "0.1", optional = true }
roxmltree = "0.14"
simplecss = "0.2.1"
siphasher = "0.3"
svgtypes = { git = "https://github.com/RazrFalcon/svgtypes", rev = "595b1a3" }
svgtypes = "0.8"

# for text to path
fontdb = { version = "0.6.2", optional = true, default-features = false }
Expand Down

0 comments on commit c5262c5

Please sign in to comment.