Summary: | Odd dependency of currentpagedevice on letter / a4 etc | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | mjr19 |
Component: | PS Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.71 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: | patch |
Description
mjr19
2010-07-14 15:42:22 UTC
See the comment in gs_statd.pd : % Note: these executable arrays should all begin with two % integers which are the width and height (see gs_setpd.ps). /11x17 {792 1224 //.setpagesize exec} bind def % 11x17 portrait /a3 {842 1191 //.setpagesize exec} bind def /a4 {595 842 //.setpagesize exec} bind def The fact that this restriction survives past the start-up time is a bug. Created attachment 6502 [details]
patch
Re-implement handling of named page sizes to avoid dependence on the definitions of compatibility operators (a4, letter, etc.) in userdict. The patch has been committed as a rev. 11517. |