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

The textLayer does not update correctly when zooming with USE_ONLY_CSS_ZOOM = true #4634

Closed
Snuffleupagus opened this issue Apr 16, 2014 · 1 comment · Fixed by #4797
Closed

Comments

@Snuffleupagus
Copy link
Collaborator

When zooming with USE_ONLY_CSS_ZOOM = true, the textLayer doesn't update correctly anymore.
Open: http://mozilla.github.io/pdf.js/web/viewer.html#useOnlyCssZoom=true&textLayer=visible, notice how the textLayer overflows the page boundaries when zooming.

This is a regression from 5bd8a83, i.e. PR #4570.

Screenshots of the effect:

  • When the viewer is initially loaded
    load
  • After zooming (the actual zoom level seem irrelevant)
    zoom
@timvandermeij
Copy link
Contributor

Just adding that it only happens for pages that are already rendered. If you scroll down to pages that are not rendered yet, the text layer with zoom is fine.

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

Successfully merging a pull request may close this issue.

3 participants