Repository navigation
Keep document text at its own size when the system font is large - #790
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FW6WZYW8tEuYuR4z85n4kc
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
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.
🤖 Generated with Claude Code
With a system font size above normal, words in a pdf ran together and text ran off the right edge. WebView's text zoom follows the system font size by default, so it enlarged the text while the layout stayed fixed.
PageViewnow setstextZoomto 100. CSS in the page cannot prevent it.Side effect: a larger system font no longer enlarges text in any document type. Pinch zoom still works.
Tested on an Android 12 emulator with the font size at 1.15: the reported pdf overlapped before and renders correctly now. The instrumented tests were not run.
The same report had missing Cyrillic and overlapping table text, which are fixed in the core and need a core update here.