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

Bug#430922: marked as done (gs-common: ps2pdf does not copy metadata from input PDF)



Your message dated Fri, 05 Jan 2024 00:21:01 -0600
with message-id <4493528.mvXUDI8C0e@riemann>
and subject line Re: gs-common: ps2pdf does not copy metadata from input PDF
has caused the Debian Bug report #430922,
regarding gs-common: ps2pdf does not copy metadata from input PDF
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.)


-- 
430922: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430922
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gs-common
Version: 0.3.11
Severity: normal


I expect that

ps2pdf teszt.pdf teszt2.pdf

creates teszt2.pdf such that its content is equivalent to teszt.pdf.
Especially the metadata reported by pdfinfo is presereved except where a change 
is useful (e.g. change modification date or add ghostscript to producer).

However, this is not the case:

$ pdfinfo teszt.pdf
Title:          Silly title
Subject:        test file
Keywords:       tests
Author:         Me
Creator:        LaTeX with hyperref package
Producer:       pdfTeX-1.40.3
CreationDate:   Thu Jun 28 11:15:50 2007
ModDate:        Thu Jun 28 11:15:50 2007
Tagged:         no
Pages:          1
Encrypted:      no
Page size:      595.276 x 841.89 pts (A4)
File size:      3767 bytes
Optimized:      no
PDF version:    1.4

$ pdfinfo teszt2.pdf
Producer:       GPL Ghostscript 8.54
CreationDate:   Thu Jun 28 11:16:20 2007
ModDate:        Thu Jun 28 11:16:20 2007
Tagged:         no
Pages:          1
Encrypted:      no
Page size:      595.28 x 841.89 pts (A4)
File size:      3191 bytes
Optimized:      no
PDF version:    1.4

In particular, I dislike losing the title, author, subject, keywords and 
creator.

The two files (teszt.pdf and the result of ps2pdf, which is teszt2.pdf) are 
attached.

	Gabor Braun

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)

Versions of packages gs-common depends on:
ii  debconf [debc 1.5.11                     Debian configuration management sy
ii  debianutils   2.17                       Miscellaneous utilities specific t
ii  defoma        0.11.10-0.1                Debian Font Manager -- automatic f
ii  gs-gpl [gs]   8.54.dfsg.1-5              The GPL Ghostscript PostScript int
ii  gsfonts       1:8.11+urwcyr1.0.7~pre41-1 Fonts for the Ghostscript interpre

gs-common recommends no packages.

-- no debconf information

Attachment: teszt.pdf
Description: Adobe PDF document

Attachment: teszt2.pdf
Description: Adobe PDF document


--- End Message ---
--- Begin Message ---
On Thu, 28 Jun 2007 11:33:30 +0200 Gábor Braun <braung@renyi.hu> wrote:
> Package: gs-common
> Version: 0.3.11
> Severity: normal
> 
> 
> I expect that
> 
> ps2pdf teszt.pdf teszt2.pdf
> 
> creates teszt2.pdf such that its content is equivalent to teszt.pdf.
> Especially the metadata reported by pdfinfo is presereved except where a 
change 
> is useful (e.g. change modification date or add ghostscript to producer).

Tested with ghostscript 10.02.1 and found the metadata was preserved:


$ pdfinfo teszt.pdf 
Title:           Silly title
Subject:         test file
Keywords:        tests
Author:          Me
Creator:         LaTeX with hyperref package
Producer:        pdfTeX-1.40.3
CreationDate:    Thu Jun 28 04:15:50 2007 CDT
ModDate:         Thu Jun 28 04:15:50 2007 CDT
Custom Metadata: yes
Metadata Stream: no
Tagged:          no
UserProperties:  no
Suspects:        no
Form:            none
JavaScript:      no
Pages:           1
Encrypted:       no
Page size:       595.276 x 841.89 pts (A4)
Page rot:        0
File size:       3767 bytes
Optimized:       no
PDF version:     1.4

$ ps2pdf teszt.pdf teszt2.pdf
$ pdfinfo teszt2.pdf 
Title:           Silly title
Subject:         test file
Keywords:        tests
Author:          Me
Creator:         LaTeX with hyperref package
Producer:        GPL Ghostscript 10.02.1
CreationDate:    Fri Jan  5 00:18:16 2024 CST
ModDate:         Fri Jan  5 00:18:16 2024 CST
Custom Metadata: no
Metadata Stream: yes
Tagged:          no
UserProperties:  no
Suspects:        no
Form:            none
JavaScript:      no
Pages:           1
Encrypted:       no
Page size:       595.28 x 841.89 pts (A4)
Page rot:        0
File size:       3452 bytes
Optimized:       no
PDF version:     1.4

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: