-
-
Couldn't load subscription status.
- Fork 114
bump PDF.js to 5.4.296; bump targetSdk to 36; edge-to-edge improvements #538
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
Open
octocorvus
wants to merge
10
commits into
GrapheneOS:main
Choose a base branch
from
octocorvus:edge-to-edge-3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7cd0755 to
0c4cb49
Compare
24338c1 to
6789285
Compare
8bdd5d0 to
5e88369
Compare
05940bd to
4006e0c
Compare
4006e0c to
501d0c6
Compare
Bumps [pdfjs-dist](https://github.com/mozilla/pdf.js) from 5.4.149 to 5.4.296. - [Release notes](https://github.com/mozilla/pdf.js/releases) - [Commits](mozilla/pdf.js@v5.4.149...v5.4.296) --- updated-dependencies: - dependency-name: pdfjs-dist dependency-version: 5.4.296 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
The page element is a container for the canvas and text layer and helps to keep the layers aligned. The following changes were also needed: - Only center PDF pages horizontally. Vertical centering was often the cause of text layer misalignment and additional code was often needed to fix the alignment. Moreover, vertical centering doesn't make sense when there are multiple PDF pages within the same DOM. So, drop it completely. - Drop old text layer alignment method.
The WebView now takes all screen space regardless of whether app toolbar is hidden or not. So, we add padding in our javascript viewer to account for system insets and app toolbar size.
Prevents jank which happens due to --scale-factor not being set to correct value before canvas is displayed.
501d0c6 to
0c59776
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.