diff options
author | Ryan Harrison <rharrison@chromium.org> | 2018-08-28 20:22:32 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-28 20:22:32 +0000 |
commit | 4d92af5ace491a2e87a6c73e5afa9ed53ac86bd0 (patch) | |
tree | 16bd5583a1d4650d4e757f0f8abe02ed045a70a1 /testing/fake_file_access.cpp | |
parent | 3321f15291b3fff3ebd6ef41bf48d883c8b78352 (diff) | |
download | pdfium-4d92af5ace491a2e87a6c73e5afa9ed53ac86bd0.tar.xz |
Handle non-printing characters at beginning of extraction region
Currently if a text extraction region begins on a non-printing
character then "" will be returned. This is the incorrect behaviour,
instead the call should scan ahead until a printing character is
found and start extracting from there. Also proactively adds a
similar check and scan for the end of the extraction region.
BUG=pdfium:1139
Change-Id: Ia2001ac89740f3d31d2bb69e8000773f8b01091b
Reviewed-on: https://pdfium-review.googlesource.com/41532
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'testing/fake_file_access.cpp')
0 files changed, 0 insertions, 0 deletions