Public bug reported:
Binary package hint: gv
The following PostScript program gets the size of the paper from the
PostScript environment, and prints it.
%!PS
/pt2cm { .0353 mul (aaaaaaaaaa) cvs } def
/Helvetica findfont 14 scalefont setfont
30 30 moveto (PageSize: ) show currentpagedevice /PageSize get dup
0 get pt2cm show (cm x ) show 1 get pt2cm show (cm) show showpage
When ran with "gs -sDEVICE=x11", it gives a reasonable result:
PageSize: 20.9927cm x 29.6954cm
On a real printer with A4 paper, it prints similar results.
When ran with gv, it displays nonsense:
PageSize: 0.0044125cm x 0.0044125cm
** Affects: gv (Ubuntu)
Importance: Undecided
Status: New
--
gv sets an invalid PageSize
https://bugs.launchpad.net/bugs/151980
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs