This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
geda:gaf_utility [2014/07/15 07:48] vzh Fix formatting |
geda:gaf_utility [2014/07/28 08:00] (current) vzh Fix font name |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | //Translations:// [[gaf_utility.ru|Русский]] | ||
+ | |||
====== gaf - gEDA/gaf Command-Line Utility ====== | ====== gaf - gEDA/gaf Command-Line Utility ====== | ||
Line 47: | Line 49: | ||
Key values in the gEDA config files may be single numbers or | Key values in the gEDA config files may be single numbers or | ||
- | lists. Note that unlike the [[#geda export]] command, where | + | lists. Note that unlike the [[#gaf export]] command, where |
several list separators can be used, the only separator between | several list separators can be used, the only separator between | ||
list values in the config files is semicolon ';'. Another difference | list values in the config files is semicolon ';'. Another difference | ||
Line 72: | Line 74: | ||
| margins | list of four integers in the form ''TOP;LEFT;BOTTOM;RIGHT'' | 18;18;18;18 | | | margins | list of four integers in the form ''TOP;LEFT;BOTTOM;RIGHT'' | 18;18;18;18 | | ||
| monochrome | boolean | true | | | monochrome | boolean | true | | ||
- | | paper | predefined paper size string, see [[#paper|notes below]] | //locale dependent// | | + | | paper | predefined paper size string | //locale dependent// | |
| size | string "auto" or list of two integers in the form ''HEIGHT;WIDTH'' | auto | | | size | string "auto" or list of two integers in the form ''HEIGHT;WIDTH'' | auto | | ||
Line 217: | Line 219: | ||
| layout | predefined string: "portrait", "landscape", or "auto" | auto | | | layout | predefined string: "portrait", "landscape", or "auto" | auto | | ||
| monochrome | boolean | false | | | monochrome | boolean | false | | ||
- | | paper | predefined paper size string, see [[#paper|notes below]] | //locale dependent// | | + | | paper | predefined paper size string | //locale dependent// | |
=== layout === | === layout === | ||
Line 229: | Line 231: | ||
ordinary. To get readable PDF with pages in landscape use instead | ordinary. To get readable PDF with pages in landscape use instead | ||
the [[#gaf export]] command, and set to "auto" the ''layout'' key | the [[#gaf export]] command, and set to "auto" the ''layout'' key | ||
- | in the ''export'' group. | + | in the [[#export group]]. |
Note: as of now, printing using the script //''print.scm''// doesn't | Note: as of now, printing using the script //''print.scm''// doesn't | ||
Line 239: | Line 241: | ||
The default ''paper'' value depends on the current locale. | The default ''paper'' value depends on the current locale. | ||
See the notes on the paper size above in the description of the | See the notes on the paper size above in the description of the | ||
- | ''paper'' key for the [[#gaf export|export]] group. | + | ''paper'' key for the [[#export group]]. |
=== monochrome === | === monochrome === | ||
Line 245: | Line 247: | ||
It is intended that unlike the ''monochrome'' value in the | It is intended that unlike the ''monochrome'' value in the | ||
- | [[#gaf export|export]] group, the key value in this group is ''false''. | + | [[#export group]], the key value in this group is ''false''. |
Line 303: | Line 305: | ||
=== y === | === y === | ||
- | X position of the dialog window. | + | Y position of the dialog window. |
=== width === | === width === | ||
Line 403: | Line 405: | ||
gaf config --project export monochrome false | gaf config --project export monochrome false | ||
Set up a custom user font: | Set up a custom user font: | ||
- | gaf config --user export font "OpenGost Type B Italic" | + | gaf config --user export font "OpenGost Type B TT Italic" |
Choose another font for a local project: | Choose another font for a local project: | ||
gaf config --project export font "Arial Bold" | gaf config --project export font "Arial Bold" |