Package: ghostscript
Version: 10.04.0
Severity: important

Dear Maintainer,

with ghostscript 10.0.0, installed at bookworm, it is possible to attach
a xml-file to a pdf/a-3b file, e.g. by this command:

gs
--permit-file-read=/usr/home/me/zugferd/
-sDEVICE=pdfwrite
-dPDFA=3
-sColorConversionStrategy=RGB
-sZUGFeRDXMLFile=/usr/home/me/zugferd/invoice.xml
-sZUGFeRDProfile=/usr/home/me/zugferd/default_rgb.icc
-sZUGFeRDVersion=2p1
-sZUGFeRDConformanceLevel=BASIC
-o /usr/home/me/zugferd/output.pdf
/usr/home/me/zugferd/zugferd.ps
/usr/home/me/zugferd/input.pdf

the example is from  https://ghostscript.readthedocs.io/en/latest/ZUGFeRD.html

it converts input.pdf into a pdf/a-3b output.pdf and attaches the file 
invoice.xml to the pdf/a-3b.

you can inspect the attached xml-stream e.g. with evince.

on trixie and ghostscript 10.04.0 the command-output is the same and exit code 
is 0, but evince shows no attached xml-stream any more.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.7-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ghostscript depends on:
ii  libc6    2.40-4
ii  libgs10  10.04.0~dfsg-2

ghostscript recommends no packages.

Versions of packages ghostscript suggests:
ii  texlive-binaries  2024.20240313.70630+ds-5

-- no debconf information

Reply via email to