[librsvg/rustify-rsvg-convert: 77/78] Fix the export_id_short_option geometry
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustify-rsvg-convert: 77/78] Fix the export_id_short_option geometry
- Date: Wed, 3 Feb 2021 10:18:31 +0000 (UTC)
commit f5b1b8d5830ab2c01bac4cfd7628e30136b88cf7
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]