[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#801395: marked as done (libgs9-common: Unable to produce a PDF/A on Debian 8)



Your message dated Sat, 2 Sep 2023 11:21:54 +0100
with message-id <02092023111846.abe5c5cda1c0@desktop.copernicus.org.uk>
and subject line libgs9-common: Unable to produce a PDF/A on Debian 8
has caused the Debian Bug report #801395,
regarding libgs9-common: Unable to produce a PDF/A on Debian 8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
801395: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801395
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libgs9-common
Version: 9.06~dfsg-2+deb8u1
Severity: wishlist


I used the sample command line at

  http://ghostscript.com/doc/current/Ps2pdf.htm#PDFA

and followed the advice given in

  http://bugs.ghostscript.com/show_bug.cgi?id=691448

to change the line

  /ICCProfile (ISO Coated sb.icc)   % Customize.

to

  /ICCProfile (/usr/share/color/icc/ghostscript/srgb.icc)   % Customize

The result is

  brian@desktop:~$ gs -dPDFA=1 -dBATCH -dNOPAUSE  -sDEVICE=pdfwrite -sColorConversionStrategy=/RGB -sOutputFile=out.pdf $HOME/PDFA_def.ps in.pdf 
  GPL Ghostscript 9.06 (2012-08-08)
  Copyright (C) 2012 Artifex Software, Inc.  All rights reserved.
  This software comes with NO WARRANTY: see the file PUBLIC for details.
  Error: /undefined in --get--
  Operand stack:
     --nostringval--   --nostringval--   --nostringval--   N   --dict:1169/1684(ro)(G)--   ProcessColorModel
  Execution stack:
     %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
  Dictionary stack:
     --dict:1169/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--
  Current allocation mode is local
  Current file position is 573
  GPL Ghostscript 9.06: Unrecoverable error, exit code 1

Then I replaced

  [/_objdef {icc_PDFA} /type /stream /OBJ pdfmark
  [{icc_PDFA} <</N systemdict /ProcessColorModel get /DeviceGray eq {1} {4} ifelse >> /PUT pdfmark
  [{icc_PDFA} ICCProfile (r) file /PUT pdfmark

in $HOME/PDFA_def.ps with the code from the corresponding section of the
PDFA_def.ps file in libgs9-common (9.16~dfsg-2). in.pdf is now processed
to out.pdf.

It would be nice if a point release of Debian 8 could incorporate this
fix. Or is it not possible or desirable to alter a package in stable in
such a way?

Regards,

Brian.



-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

libgs9-common depends on no packages.

Versions of packages libgs9-common recommends:
pn  fonts-droid  <none>

libgs9-common suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Ghostscript is now at 9.53.3. Surely fixed? Hence closing.

Cheers,

Brian.

--- End Message ---

Reply to: