From 529b4013407d45f58a283b771b335884db9926fd Mon Sep 17 00:00:00 2001 From: Joaquim Date: Tue, 3 Jun 2025 00:07:57 +0100 Subject: [PATCH] Add some bank spaces in the PS /PageSize line in case we need to edit in psconvert. --- src/postscriptlight.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/postscriptlight.c b/src/postscriptlight.c index 43acaefa0b7..80e7a18836f 100644 --- a/src/postscriptlight.c +++ b/src/postscriptlight.c @@ -4743,8 +4743,8 @@ int PSL_beginplot (struct PSL_CTRL *PSL, FILE *fp, int orientation, int overlay, if (manual_feed) /* Manual media feed requested */ PSL_command (PSL, "PSLevel 1 gt { << /ManualFeed true >> setpagedevice } if\n"); else if (PSL->internal.p_width > 0.0 && PSL->internal.p_height > 0.0) /* Specific media selected */ - PSL_command (PSL, "PSLevel 1 gt { << /PageSize [%.12g %.12g] /ImagingBBox null >> setpagedevice } if\n", - PSL->internal.p_width, PSL->internal.p_height); + PSL_command (PSL, "PSLevel 1 gt { << /PageSize [%.12g %.12g] /ImagingBBox null >> setpagedevice } if \n", + PSL->internal.p_width, PSL->internal.p_height); /* Leave some space for eventual PageSize change by psconvert */ if (PSL->init.copies > 1) PSL_command (PSL, "/#copies %d def\n", PSL->init.copies); PSL_command (PSL, "%%%%EndSetup\n\n");