-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Poor performance on a pdf document #4626
Comments
@Lex-2008 For your information, appending |
#6590 landed but it did not take in account that set text matrix operation can be used for individual glyphs. I think we can do better by applying the same logic as we used for translate operation in #6590. P.S. delta calculated to make optimization work, four first components of transform matrix must be equal to previous value. |
I would like to work on this bug. Can you give me some guidance/pointers for fixing this? |
@yurydelendik Is this approximately what you had in mind: master...Snuffleupagus:combine-setTextMatrix? If so, I'll add a test-case and submit a PR. |
This PDF document:
http://lex-2008.github.io/pdf.js/print.pdf
has poor performance when scrolling.
as @chriskr noticed, this is probably related to text layer. Setting
increases performance.
To reproduce the issue:
Pass if scrolling performance is acceptable.
The file in question is a pdf printout of a http://habrahabr.ru/post/160035/ page, sent to me by a friend. Not sure how it was generated.
The text was updated successfully, but these errors were encountered: