Wrong page size for A4 ps files
Submitted by Germán Poo-Caamaño
Assigned to Carlos Campos @carlosgc
Link to original bug (#106816)
Description
Created attachment 140021 PS test case
Original report: https://gitlab.gnome.org/GNOME/evince/issues/488
-->snip<-- Hello, when generating PostScript files in A4 format and displaying them in evince, the page size is ignored and replaced by the default: US Letter.
The same (wrong) result can be provoked by commenting out the PostScript page size command
<< /PageSize [xxx yyy] >> setpagedevice It looks like Evince ignores the page size command.
See examples attached:
ps is a test case generated by hand. png is a screenshot of Evince. pdf is generated by ps2pdf and respects the page size. -->snip<--
The issue is reproducible with Spectre f88d2c25 (0.2.8 + 1 commit), using spectre-test.
Attachment 140021, "PS test case":
4cornersA4.ps