[librsvg: 1/2] Add example on using a uniform page size for multi-page documents
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/2] Add example on using a uniform page size for multi-page documents
- Date: Wed, 13 Oct 2021 01:50:28 +0000 (UTC)
commit e079995abcc5e99172d680feb36b7e4cf2d4d67f
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Oct 12 20:09:32 2021 -0500
Add example on using a uniform page size for multi-page documents
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/604>
rsvg-convert.1 | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/rsvg-convert.1 b/rsvg-convert.1
index 605a87d9..8c604875 100644
--- a/rsvg-convert.1
+++ b/rsvg-convert.1
@@ -256,7 +256,28 @@ use the
and
.B --page-height
options.
-
+.P
+For example, the following command creates a three-page PDF out of three SVG documents. All the
+pages are portrait US Letter, and each SVG is scaled to fit so that there is a 1in margin around
+each page:
+.P
+.RS
+.B rsvg-convert
+.BI --format= pdf
+.BI --page-width= 8.5in
+.BI --page-height= 11in
+.BI --width= 6.5in
+.BI --height= 9in
+.B --keep-aspect-ratio
+.BI --top= 1in
+.BI --left= 1in
+.I pg1.svg
+.I pg2.svg
+.I pg3.svg
+.B >
+.I out.pdf
+.RE
+.P
.SS CONVERSION OF PIXELS BASED ON THE DOTS-PER-INCH
.B rsvg-convert
uses the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]