summaryrefslogtreecommitdiff
path: root/testing/resources/cropped_text.in
diff options
context:
space:
mode:
authorxlou <xlou@chromium.org>2018-10-11 21:15:18 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-11 21:15:18 +0000
commitc7f66edd224446deefe68506b7ebed871eb5c8c2 (patch)
treeec6ea7d0c57c1d9211712b87846a1cdb33e5dbba /testing/resources/cropped_text.in
parentbfc5f6011dd402a1fc07a522c3f25ab405f3e3ea (diff)
downloadpdfium-chromium/3578.tar.xz
Add functions to get/set ArtBox.chromium/3578
There are PDFs that use ArtBox. In some use cases, user may scale a page, scale up/down MediaBox and CropBox. So if ArtBox exists, it needs to be scaled as well. Bug:409670 Change-Id: I78ac7afa66942352277f856514bdd9b15dda270b Reviewed-on: https://pdfium-review.googlesource.com/c/43931 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Shirleen Lou <xlou@chromium.org>
Diffstat (limited to 'testing/resources/cropped_text.in')
-rw-r--r--testing/resources/cropped_text.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/resources/cropped_text.in b/testing/resources/cropped_text.in
index c8632de112..d3812dc476 100644
--- a/testing/resources/cropped_text.in
+++ b/testing/resources/cropped_text.in
@@ -41,6 +41,7 @@ endobj
/Parent 2 0 R
/MediaBox [ 0 0 200 200 ]
/CropBox [ 50 50 150 150 ]
+ /ArtBox [ 55 65 140 145 ]
/Resources <<
/Font <<
/F1 3 0 R
@@ -55,6 +56,7 @@ endobj
/Parent 2 0 R
/MediaBox [ -50 -50 200 200 ]
/CropBox [ 50 50 150 150 ]
+ /ArtBox [ 50 60 135 140 ]
/Resources <<
/Font <<
/F1 3 0 R
@@ -69,6 +71,7 @@ endobj
/Parent 2 0 R
/MediaBox [ 0 0 200 200 ]
/CropBox [ 60 60 150 150 ]
+ /ArtBox [ 65 75 140 148 ]
/Resources <<
/Font <<
/F1 3 0 R
@@ -83,6 +86,7 @@ endobj
/Parent 2 0 R
/MediaBox [ 0 0 200 200 ]
/CropBox [ 150 150 60 60 ]
+ /ArtBox [ 140 145 65 70 ]
/Resources <<
/Font <<
/F1 3 0 R