Skip to content
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

Config.load_file() removes encodings from pyxpdf_data #5

Open
ashutoshvarma opened this issue Jul 2, 2020 · 0 comments
Open

Config.load_file() removes encodings from pyxpdf_data #5

ashutoshvarma opened this issue Jul 2, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ashutoshvarma
Copy link
Owner

ashutoshvarma commented Jul 2, 2020

Config.load_file() removes the xpdfrc settings from pyxpdf_data.
As pyxpdf_data introduce new encodings with the help of automatic generated xpdfrc and loading another xpdfrc will discard them.

It can be solved by appending the user provided xpdfrc to the pyxpdf_data's xpdfrc.

image

Config file loading function can be found here:-

def load_file(self, cfg_path=None):

@ashutoshvarma ashutoshvarma added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant