[Poppler-bugs] [Bug 89827] New: [patch] fix pdftops git 30mar15 regression where -passfonts and some other options no longer have an effect

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 30 12:43:00 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89827

            Bug ID: 89827
           Summary: [patch] fix pdftops git 30mar15 regression where
                    -passfonts and some other options no longer have an
                    effect
           Product: poppler
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: utils
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: williambader at hotmail.com

Created attachment 114734
  --> https://bugs.freedesktop.org/attachment.cgi?id=114734&action=edit
patch to fix the problem

Recent changes to the command line processing moved some options from
GlobalParams to PSOutputDev.
The options used to be set by calling setters in GlobalParams before creating
the PSOutputDev.
Now the options are set by calling setters in PSOutputDev after it is created.
The problem is that PSOutputDev() calls init() which uses options that now can
not be set until later after PSOutputDev() returns.
These patches split some of the code of init() into a new postInit() that is
automatically called later after the pdftops main program has had a chance to
set the command line options.
When I was looking through the code, I also fixed a misspelling of
sanitizedTitle as sanitizedTile.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150330/743d1693/attachment.html>


More information about the Poppler-bugs mailing list