[librsvg/rustify-rsvg-convert] Fix the export_id_short_option geometry
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustify-rsvg-convert] Fix the export_id_short_option geometry
- Date: Wed, 3 Feb 2021 01:22:44 +0000 (UTC)
commit 42d995921b3a26e25bfc1ce4077badb645ff7fd4
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Feb 2 19:16:10 2021 -0600
Fix the export_id_short_option geometry
This one is debatable. The document has units in inches, and a
viewBox. In that case, what does it mean to render elements at their
natural size? Is it at the size of the untransformed element (current
behavior, and what the test expects), or is it the size at which the
element would be rendered if rsvg-convert were run with no argumnents
for the whole document?
tests/src/cmdline/rsvg_convert.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/src/cmdline/rsvg_convert.rs b/tests/src/cmdline/rsvg_convert.rs
index 566dbdd7..db3b71a3 100644
--- a/tests/src/cmdline/rsvg_convert.rs
+++ b/tests/src/cmdline/rsvg_convert.rs
@@ -629,7 +629,7 @@ fn export_id_short_option() {
.arg("two")
.assert()
.success()
- .stdout(file::is_png().with_size(90, 180));
+ .stdout(file::is_png().with_size(100, 200));
}
#[test]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]