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

Upgrade pdfium #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

agrogoth
Copy link

@agrogoth agrogoth commented Nov 7, 2018

This upgrades PDFium to a recent version. Some third party libraries have been removed. System libraries are used instead. There have been API changes within PDFium which needed adapation. I've also introduced the PIMPL pattern to qtpdfium to improve binary compatibility.

Copy link
Owner

@paulovap paulovap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested in Mac OS X High Sierra and it seems to be working fine. I could not manage to test on other platforms. Which platform are you developing on?

@@ -1,4 +1,4 @@
[submodule "src/3rdparty/pdfium"]
path = src/3rdparty/pdfium
url = https://github.com/pinaraf/pdfium.git
url = https://github.com/agrogoth/pdfium.git
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello there. Can you send a PR to paulovap/pdfium instead of point to your repo? This original change was a oversight from my part.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, this upgraded version of qtpdfium has been used on a embedded ARM device and on our Ubuntu 64-bit development machines. It works without any issues I'm aware of. Windows is untested.
I can't create a PR to paulovap/pdfium because my repository is not a fork of yours. Could you create a new branch with all changes from the official repo up to commit b7c4a02? I could then recreate my repo as a fork and put my two commits on top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants