summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authortonikitoo <tonikitoo@igalia.com>2016-09-15 13:50:50 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-15 13:50:50 -0700
commit0a17fafd723e8684d1deb4b5ceea58967a0154da (patch)
tree6e438c8fab198e4e315243be858feaaff7a1a813 /xfa
parent84be3a3cfec5107aac9a58ea00b58b733d393c7d (diff)
downloadpdfium-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 'xfa')
0 files changed, 0 insertions, 0 deletions