-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Creates/refactors PDFPageView class #5552
Conversation
b07703b
to
5c6a3dd
Compare
this.textDivs = []; | ||
this.findController = options.findController || null; | ||
this.complete = true; |
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 doesn't seem to be used anywhere else
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.
Removed, thanks
5c6a3dd
to
b49e12f
Compare
b49e12f
to
abac475
Compare
When scrolling really fast through e.g. tracemonkey.pdf with these patches applied locally, I get an error in the console:
It appears that it's connected with cancelling of page rendering, since in these cases |
abac475
to
f900e3d
Compare
Fixed |
Review progress:
|
dd3e4bf
to
84afd3f
Compare
84afd3f
to
583c4da
Compare
96557e9
to
0a171f7
Compare
e4b3bdc
to
9a5da2e
Compare
9a5da2e
to
2b03b3f
Compare
2b03b3f
to
513a3d8
Compare
/botio-linux preview |
From: Bot.io (Linux)ReceivedCommand cmd_preview from @yurydelendik received. Current queue size: 0 Live output at: http://107.21.233.14:8877/4d631026e04c398/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/4d631026e04c398/output.txt Total script time: 0.77 mins Published
|
As far as I'm concerned, this is good to go now! @brendandahl Do you agree? |
Creates/refactors PDFPageView class
Is there example code for how to use this? |
@nschloe yes, see the example in the last commit |
or examples/components/pageviewer.html |
Awesome work! |
Creates/refactors PDFPageView class
Allows just to paint a single PDF page. Also makes TextLayerBuilder much simpler to use.