Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P poppler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 655
    • Issues 655
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 42
    • Merge requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #687

Closed
Open
Created Dec 17, 2018 by Jeroen Ooms@jeroenContributor

Expose method for setting poppler-data location in C++ frontend

The R bindings are exclusively using the C++ frontend, except for the part below where we need to set the location of the poppler-data files (which we ship with the application):

#include <GlobalParams.h>
void find_poppler_data(){
  static bool initiated = false;
  if (!initiated && strlen(poppler_data)){
    globalParams = new GlobalParams(poppler_data);
    initiated = true;
  }
}

It would be great if this can be exposed in the C++ API so we don't need the legacy API.

Edited Dec 17, 2018 by Jeroen Ooms
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking