Skip to content

Fix PDF file properties in Book 2 #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jhlegarreta opened this issue Apr 21, 2018 · 4 comments
Closed

Fix PDF file properties in Book 2 #78

jhlegarreta opened this issue Apr 21, 2018 · 4 comments

Comments

@jhlegarreta
Copy link
Member

As discussed in PR #73, Book 2 PDF file properties seem not to be created as expected; taking one of the latest builds, the PDF properties show:

Title: MultiResImageRegistration1TraceMetric.eps
Author: aghayoor
Subject: gnuplot plot
Keywords: "Registration,Segmentation,Guide"

and the following is expected:

Title: ITK Software Guide
Author: Hans Johnson and Luis Ibáñez and Matthew McCormick and the Insight Software Consortium
Subject: Medical Image Segmentation and Registration Toolkit
Keywords: "Registration,Segmentation,Guide"
@albert-github
Copy link
Contributor

In the file: SoftwareGuide/Art/MultiResImageRegistration1TraceMetric.eps I saw:

SDict begin [
  /Title (MultiResImageRegistration1TraceMetric.eps)
  /Subject (gnuplot plot)
  /Creator (gnuplot 4.6 patchlevel 5)
  /Author (aghayoor)
%  /Producer (gnuplot)
%  /Keywords ()
  /CreationDate (Wed Jul 30 16:37:13 2014)
  /DOCINFO pdfmark
end

So maybe commenting out the relevant items here might help.

I could not find where this file is included though...

Note: There might be also other eps files that have the same behavior but that the one shown is the last one included.

@albert-github
Copy link
Contributor

I did some further investigations and found: https://groups.google.com/g/comp.graphics.apps.gnuplot/c/WTjwj-lbC90 (in comment last but one) here it is suggested to replace:

/SuppressPDFMark false def

by

/SuppressPDFMark true def

@albert-github
Copy link
Contributor

A proposed patch is available as pull request #226

@albert-github
Copy link
Contributor

Code has been integrated in main on GitHub, issue can be closed.

@dzenanz dzenanz closed this as completed Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants