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

Added more flexibility #84

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

Added more flexibility #84

wants to merge 12 commits into from

Conversation

kenneth488
Copy link

Hi KurtCode

I have made some changes to the library, giving the user more freedom when it comes to the selections.

Redrawing the PDF page each time we search is not a good way to do it. Especially not if we are dealing with heavy files. Therefore giving the user the ability to draw the PDF page one time, and the freely placing the search marks on top gives a great amount of flexibility.

As mentioned in the readme I have restructured. I have implemented a method for only getting the page text, and one for getting the selections. The user only needs to call the selections "frame" method, convert the returned rect to userspace and place the view.

Regards,

Kenneth

@lpotherat
Copy link

I've downloaded your version, and I get this error sometime : unable load adobe_glyphs from resource ...
It tries to get some data from NappPDFResources.bundle, but what is this bundle ? Where/How can we get it ?

Thanks in advance for your answer

Copy link

@hemangshah hemangshah left a comment

Choose a reason for hiding this comment

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

This looks good. @KurtCode should merge this.

@konran2010
Copy link

Hi @kenneth488,

as @KurtCode did never merge your changes into the branch and for now his code has changed so much, that it is not possible to merge your diffs into the current master:
Do you have a branch copy of the PDFKitten with your changes merged into? I'm very interested to base my work on that.

Thanks and regards,
Konran

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.

4 participants