|Subject:||Re: [bug-gv] gv shows some files very narrow.|
|Date:||Fri, 29 Sep 2017 22:20:48 +0000|
gv expects document comments like %%BoundingBox or %%PageBoundingBox to determine the page size. If it does not find any comments, it uses a default size, which is usually A4.
gs has default sizes for each device (the -sDEVICE=<name> options that you can see if you run 'gs -h'), and postscript code can modify the size with the setpagedevice operator like <</PageSize [# #]>> setpagedevice. In general, gs and printers use the postscript code and ignore the comments. The comments are mainly for viewers like gv.
The 20170928 file does not have any document comments, and it also does not set the postscript page device, so you get the defaults in gv and in gs.
If you want the file to display the size of the image in gv, after the %!PS-Adobe line, add the two lines
%%BoundingBox: 0 0 575 850
From: bug-gv <bug-gv-bounces+address@hidden> on behalf of Rogier Wolff <address@hidden>
Sent: Friday, September 29, 2017 12:33 PM
Subject: [bug-gv] gv shows some files very narrow.
Some files, since quite a while now, show very narrow. They are built
to display on say Z4, 21x30cm, but show in gv as if they are 10x30cm.
the raw "gs" does show the file normally. Printers print the files
I haven't reported this because it must bother lots of others, and
I thought it would not require my time to report it.
An example file is:
** address@hidden ** http://www.BitWizard.nl/ ** +31-15-2600998 **
** Delftechpark 26 2628 XH Delft, The Netherlands. KVK: 27239233 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.
|[Prev in Thread]||Current Thread||[Next in Thread]|