[Poppler-bugs] [Bug 49036] New: Custom poppler-data directory not persistent

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 21 04:53:33 PDT 2012


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

             Bug #: 49036
           Summary: Custom poppler-data directory not persistent
    Classification: Unclassified
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: st.loeffler at gmail.com


In the constructor GlobalParams::GlobalParams(const char *customPopplerDataDir)
[poppler/GlobalParams.cc], one can supply a custom poppler-data directory,
which can be very useful, especially when linking to poppler statically.

However, in a number of places, the global variable `globalParams` is destroyed
and recreated *with customPopplerDataDir=NULL*. Typically, this happens based
on some internal reference counting that can't be overridden by the application
using the poppler library.

Consequently, an application can provide a customPopplerDataDir, but that is
overridden internally (typically when closing one document and opening
another).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list