Re: [poppler] How to set custom 'share' directory

2017-11-04 Thread Jeroen Ooms
On Wed, Nov 1, 2017 at 9:31 PM, Jeroen Ooms wrote: > Hmm that may be the function I am looking for but I don't understand > where I should pass a GlobalParams object when reading a pdf file. I > tried setting the 'globalParams' global when loading the R package but > that

Re: [poppler] How to set custom 'share' directory

2017-11-03 Thread William Bader
: [poppler] How to set custom 'share' directory On Wed, Nov 1, 2017 at 3:51 PM, Jason Crain <ja...@inspiresomeone.us> wrote > > I don't know how you use poppler in your project, but you may also have > the option of passing in the path when you construct the GlobalParams > object.

Re: [poppler] How to set custom 'share' directory

2017-11-01 Thread Jeroen Ooms
On Wed, Nov 1, 2017 at 3:51 PM, Jason Crain wrote > > I don't know how you use poppler in your project, but you may also have > the option of passing in the path when you construct the GlobalParams > object. Hmm that may be the function I am looking for but I don't

Re: [poppler] How to set custom 'share' directory

2017-11-01 Thread Jason Crain
On Wed, Nov 01, 2017 at 03:34:36PM +0100, Jeroen Ooms wrote: > On Wed, Nov 1, 2017 at 3:20 PM, Jason Crain wrote: > > > On Mac and Linux the path is hardcoded at compilation time. It's > > generally in /usr/share/poppler on Linux. Not sure what the standard is > > on

Re: [poppler] How to set custom 'share' directory

2017-11-01 Thread Jeroen Ooms
On Wed, Nov 1, 2017 at 3:20 PM, Jason Crain wrote: > On Mac and Linux the path is hardcoded at compilation time. It's > generally in /usr/share/poppler on Linux. Not sure what the standard is > on Mac. On Windows it looks in \share\poppler relative to the >

Re: [poppler] How to set custom 'share' directory

2017-11-01 Thread Jason Crain
On Wed, Nov 01, 2017 at 02:19:36PM +0100, Jeroen Ooms wrote: > I maintain the poppler bindings for R which work on Windows, MacOS and > Linux. However Chineese users on Windows/Mac have reported that > poppler doesn't find the share data files: > > error: Missing language pack for 'Adobe-CNS1'

[poppler] How to set custom 'share' directory

2017-11-01 Thread Jeroen Ooms
I maintain the poppler bindings for R which work on Windows, MacOS and Linux. However Chineese users on Windows/Mac have reported that poppler doesn't find the share data files: error: Missing language pack for 'Adobe-CNS1' mapping Where exactly does poppler look for the 'share' directory? Is