diff options
author | tonikitoo <tonikitoo@igalia.com> | 2016-09-15 13:50:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-15 13:50:50 -0700 |
commit | 0a17fafd723e8684d1deb4b5ceea58967a0154da (patch) | |
tree | 6e438c8fab198e4e315243be858feaaff7a1a813 /core/fpdfdoc/cpdf_formfield.cpp | |
parent | 84be3a3cfec5107aac9a58ea00b58b733d393c7d (diff) | |
download | pdfium-0a17fafd723e8684d1deb4b5ceea58967a0154da.tar.xz |
Use either /RECT or /QuadPoints for annotation coordinates, depending on /AP
On Acrobat, if "/AP" is present on a text markup definition,
the coordinates used to draw the annotation come from "/Rect
values, whereas if "/AP" is not defined, the array defined
in /QuadPoints is used to grab the annotation coordinates from.
PDFium, on the other hand, uses "/Rect" regardless of
presence or absence of "/AP".
CL fixes PDFium to work similarly to Acrobat, in this case.
TEST=testing/resources/pixel/bug_585_*.in
BUG=pdfium:585
Review-Url: https://codereview.chromium.org/2289293005
Diffstat (limited to 'core/fpdfdoc/cpdf_formfield.cpp')
0 files changed, 0 insertions, 0 deletions