set 'a4' as a default in gs_init.ps to fix unrecognized 'Letter' page size (#2183166)

This commit is contained in:
Richard Lescak 2023-04-03 09:50:25 +02:00
parent d4efa63ce2
commit 6ae7fd4e7d
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- a/Resource/Init/gs_init.ps 2022-09-21 10:39:46.000000000 +0200
+++ b/Resource/Init/gs_init.ps 2023-03-31 09:43:05.759701348 +0200
@@ -72,7 +72,7 @@
% standard page size A4 rather than US letter, the page size of
% devices that default to letter or A4 can be changed by setting
% DEFAULTPAPERSIZE.
-% /DEFAULTPAPERSIZE (a4) def
+/DEFAULTPAPERSIZE (a4) def
% Turn on array packing for the rest of initialization.
//true setpacking

View File

@ -45,7 +45,7 @@
Name: ghostscript
Summary: Interpreter for PostScript language & PDF
Version: 10.01.0
Release: 1%{?dist}
Release: 2%{?dist}
License: AGPL-3.0-or-later
@ -107,6 +107,7 @@ BuildRequires: make
#Patch000: example000.patch
Patch001: ghostscript-10.01.0-pdfwrite-Substituted-TTF-CIDFont-CID-hand.patch
Patch002: ghostscript-10.01.0-set-a4-as-default-pagesize.patch
# Downstream patches -- these should be always included when doing rebase:
# ------------------
@ -420,6 +421,9 @@ done
# =============================================================================
%changelog
* Mon Apr 03 2023 Richard Lescak <rlescak@redhat.com> - 10.01.0-2
- set 'a4' as a default in gs_init.ps to fix unrecognized 'Letter' page size (#2183166)
* Mon Mar 27 2023 Richard Lescak <rlescak@redhat.com> - 10.01.0-1
- rebase to version 10.01.0 (#2180908)
- ghostscript-x11 removed, X functionality now builds directly into library for Fedora (#2178720)