forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Read Anything] Add text formatting for PDFs
Before this change, Reading mode received the text content for an entire PDF from a single node (the embedded node) in the PDF accessibility tree. This caused all the PDF content to be formatted as paragraph text in Reading Mode. Now, Reading mode will receive text content from the individual static text nodes from the PDF tree. This allows the text formatting of the original PDF to be preserved. Bug: 1266555 Change-Id: Iff7ab7a267794f7707d5d2c59be211eda56899e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5007030 Reviewed-by: Abigail Klein <abigailbklein@google.com> Commit-Queue: Jocelyn Tran <jocelyntran@google.com> Cr-Commit-Position: refs/heads/main@{#1225688}
- Loading branch information
1 parent
924a8c3
commit 69d3c4b
Showing
5 changed files
with
173 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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