gs 9.27 now uses setfilladjust2
This commit is contained in:
parent
a667ded3e9
commit
2bc24c38e4
13
cups-filters-setfilladjust.patch
Normal file
13
cups-filters-setfilladjust.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/filter/gstoraster.c b/filter/gstoraster.c
|
||||
index 4aec079..f3424f3 100644
|
||||
--- a/filter/gstoraster.c
|
||||
+++ b/filter/gstoraster.c
|
||||
@@ -895,7 +895,7 @@ main (int argc, char **argv, char *envp[])
|
||||
(t && (!strcasecmp(t, "true") || !strcasecmp(t, "on") ||
|
||||
!strcasecmp(t, "yes")))) {
|
||||
fprintf(stderr, "DEBUG: Ghostscript using Center-of-Pixel method to fill paths.\n");
|
||||
- cupsArrayAdd(gs_args, strdup("0 .setfilladjust"));
|
||||
+ cupsArrayAdd(gs_args, strdup("0 0 .setfilladjust2"));
|
||||
} else
|
||||
fprintf(stderr, "DEBUG: Ghostscript using Any-Part-of-Pixel method to fill paths.\n");
|
||||
|
@ -4,7 +4,7 @@
|
||||
Summary: OpenPrinting CUPS filters and backends
|
||||
Name: cups-filters
|
||||
Version: 1.22.5
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
|
||||
# For a breakdown of the licensing, see COPYING file
|
||||
# GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*,
|
||||
@ -34,6 +34,8 @@ Patch03: cups-filters-foomaticrip-segfault.patch
|
||||
Patch04: pdftopdf-nocrypt.patch
|
||||
# backported from upstream, ftbfs with qpdf-9.0.0
|
||||
Patch05: cups-filters-qpdf-9.patch
|
||||
# backported from upstream, gs 9.27 uses now setfilladjust2
|
||||
Patch06: cups-filters-setfilladjust.patch
|
||||
|
||||
Requires: cups-filters-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
@ -148,6 +150,7 @@ This is the development package for OpenPrinting CUPS filters and backends.
|
||||
%patch03 -p1 -b .foomaticrip-segfault
|
||||
%patch04 -p1 -b .pdftopdf-nocrypt
|
||||
%patch05 -p1 -b .qpdf-9
|
||||
%patch06 -p1 -b .setfilladjust
|
||||
|
||||
%build
|
||||
# work-around Rpath
|
||||
@ -296,6 +299,9 @@ make check
|
||||
%{_libdir}/libfontembed.so
|
||||
|
||||
%changelog
|
||||
* Wed Oct 09 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.22.5-7
|
||||
- gs 9.27 now uses setfilladjust2
|
||||
|
||||
* Tue Sep 17 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.22.5-6
|
||||
- ftbfs with qpdf-9.0.0
|
||||
- pdftopdf output should not be encrypted
|
||||
|
Loading…
Reference in New Issue
Block a user