Scaling inkview (feature request, patch included)
Bug #1550897 reported by
Nicolas Brodu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Nicolas Brodu | ||
Inkscape-docs |
Fix Committed
|
Low
|
Hachmann |
Bug Description
Hi all,
and thanks for your collective efforts on this fantastic project.
I recently needed to add a scale option to Inkview, so as to change the default window size. For example, for a SVG file with units expressed in mm, the default window is way too small when computed at 90dpi with a screen resolution much larger. Other use cases can be when the SVG viewport, in pixels, is too large to fit on screen. A scale option addresses both problems, so I implemented it.
Attached is the patch that adds the scale option. It's very small, but quite useful.
Best,
Nicolas
Changed in inkscape: | |
assignee: | nobody → Nicolas Brodu (g-ubuntuone-c) |
importance: | Undecided → Wishlist |
milestone: | none → 0.92 |
status: | New → In Progress |
tags: | added: inkview preferences |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for your patch!
We recently dropped getopt in our development version, and thus your modification had to be adapted. The attached patch was created and tested on Xubuntu 15.10 with rev. 14674. I also added a minimal help documentation for the new option.