gaf: add a feature to change scale factor
Bug #1086522 reported by
Vladimir Zhbanov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
The new 'gaf' tool can export schematics in various formats. One
of missing things is output using predefined fixed scale factor,
which is desirable in some cases. For example, some Russian state
standards order to use definite sizes for schematic title frames.
Another example is creating illustrations for a book where
you want to have a known definite scale for all your symbols.
The attached patch adds such a feature.
(It is for the current master head 74515e).
tags: | added: gaf-export |
Changed in geda: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in geda: | |
status: | Confirmed → Won't Fix |
status: | Won't Fix → In Progress |
assignee: | nobody → Peter TB Brett (peter-b) |
milestone: | none → 1.9.1 |
Changed in geda: | |
assignee: | nobody → Peter TB Brett (peter-b) |
status: | Confirmed → In Progress |
Changed in geda: | |
assignee: | Peter TB Brett (peter-b) → nobody |
Changed in geda: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Some comments about this patch.
1) I like the idea of using ':' as a separator for the options that take multiple arguments, and I can't believe I didn't think about it myself! Would you like to submit a patch to make -m and -s accept it as a separator, and also to update the manpage to show it as the recommended separator? :-)
2) I really *don't* like the --scale=IN:OUT syntax. I find it extremely confusing, and I really don't understand how it works or when it would be useful, even from reading the manpage! I strongly suggest only allowing --scale=FACTOR; I think it would make the --scale feature much easier to understand without any actual loss of functionality.
3) When mentioning metasyntactic variables in the explanation of a command-line option, please put them in italics. For example:
-Scale the output according to a specified scale factor. If one number is
+Scale the output according to a specified scale \fIFACTOR\fR. If one number is
-be equal to OUTPUT_ UNIT/INPUT_ UNIT. UNIT\fR/ \fIINPUT_ UNIT\fR.
+be equal to \fIOUTPUT_
Thanks!