[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4574: gs -g flag does not work



Package: gs
Version: 4.01-4

The `-g' flag, which is described below, does not produce the intended
effect.

>From the man page:
>       -gnumber1xnumber2
>              Equivalent to -dDEVICEWIDTH=number1  and  -dDEVICE-
>              HEIGHT=number2.  This is for the benefit of devices
>              (such as X11 windows) that require (or allow) width
>              and height to be specified.

For example, under X11 windows, the commands

$ gs -g100x100 some_postscript_file.ps
$ gs -dDEVICEWIDTH=100 -dDEVICEHEIGHT=100 some_postscript_file.ps
$ gs some_postscript_file.ps

all produce the same results.  Note that this is independent of the
contents of the `/etc/papersize' file (including when this file does
not exist).



Reply to: