-
Notifications
You must be signed in to change notification settings - Fork 113
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
base: master
Are you sure you want to change the base?
Conversation
…but simple create a view to place above the pdf page.
…doing multi-lined search marks etc. More bugs may be found.
…wline search marks, correct positioning of the marks etc.
I've downloaded your version, and I get this error sometime : unable load adobe_glyphs from resource ... Thanks in advance for your answer |
There was a problem hiding this 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.
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: Thanks and regards, |
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