-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: upgrade to usvg/resvg 0.34 #258
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
9eb4382
to
f443c4f
Compare
f443c4f
to
f4138e4
Compare
f4138e4
to
055cfec
Compare
src/options.rs
Outdated
Ok((width, height, transform)) | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
由于 resvg 0.33.0 删除了 resvg::FitTo
方法,这里我们进行了重写,需要增加 FitTo height 的测试用例。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
在这里完成:#259
055cfec
to
b9a23eb
Compare
af738a7
to
164cb05
Compare
Just curious, why we don't upgrade to 0.35? |
@Jackie1210 haha because 0.34 fork is prepared for quite some time. So this PR could quickly catch up with a recent version of resvg. Besides, starting from 0.33, our bbox related apis are broken due to resvg changes, so even if we upgrade to 0.35, this branch could hardly be merged any time soon. |
@zimond Thanks for your patient explanation. |
@Jackie1210 It depends on this issue: linebender/resvg#662 |
Two key APIs that we relied on have been removed in newer versions of resvg 0.34.0
resvg 0.33.0
Perhaps we should upgrade to |
047cb9a
to
63a682b
Compare
63a682b
to
d11a4aa
Compare
d11a4aa
to
08d7271
Compare
any update? |
e2c0d54
to
88c8fd0
Compare
It will be released when it is ready. |
88c8fd0
to
b07a26f
Compare
fixes #256
closes #205