Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
T
tangled
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • eriksson monteiro
  • tangled
  • Repository

Switch branch/tag
  • tangled
  • chrome
  • test
  • data
  • pdf
  • accessibility
  • whitespace.pdf
Find file HistoryPermalink
  • Lei Zhang's avatar
    PDF a11y: Properly handle pages with only whitespaces. · 36aae1e1
    Lei Zhang authored Aug 27, 2019
    https://crrev.com/690041 added handling for out of bound indices in
    PDFiumPage::GetTextRunInfo(), but failed to consider a valid situation
    where all the text in a text run are whitespaces. In this case,
    GetTextRunInfo() needs to report the number of characters processed.
    
    Add a test case with just a whitespace to test this condition.
    
    Also update hello-world.in to have a {{streamlen}} macro and regenerate
    hello-world.pdf
    
    Bug: 997747
    Change-Id: Id9e074080b19e4c642cf75fa6b72c5eb969197a0
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769842Reviewed-by: default avatarIan Prest <iapres@microsoft.com>
    Commit-Queue: Lei Zhang <thestig@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#690811}
    36aae1e1
whitespace.pdf 634 Bytes

Download (634 Bytes)

Replace whitespace.pdf

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.