diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-06-14 16:22:30 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-14 16:22:30 +0000 |
commit | 27cf78d88fdb44bd246cd17bcc712225388e9134 (patch) | |
tree | 437b128710bc065d70d642022483d83b9cc641ef /testing/resources/hello_world_split_streams.in | |
parent | e16ffd4fc3f286ebfaf7820351d4fee680deca88 (diff) | |
download | pdfium-27cf78d88fdb44bd246cd17bcc712225388e9134.tar.xz |
Rewrite content stream regeneration.
Loop through the dirty page objects and streams and regenerate all
streams that are dirty.
Bug: pdfium:1051
Change-Id: I837b5a7cd9542b7777e7c7ae7ac9cc75f69f30b5
Reviewed-on: https://pdfium-review.googlesource.com/34330
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing/resources/hello_world_split_streams.in')
-rw-r--r-- | testing/resources/hello_world_split_streams.in | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/testing/resources/hello_world_split_streams.in b/testing/resources/hello_world_split_streams.in new file mode 100644 index 0000000000..c7a29352f1 --- /dev/null +++ b/testing/resources/hello_world_split_streams.in @@ -0,0 +1,63 @@ +{{header}} +{{object 1 0}} << + /Type /Catalog + /Pages 2 0 R +>> +endobj +{{object 2 0}} << + /Type /Pages + /MediaBox [ 0 0 200 200 ] + /Count 1 + /Kids [ 3 0 R ] +>> +endobj +{{object 3 0}} << + /Type /Page + /Parent 2 0 R + /Resources << + /Font << + /F1 4 0 R + /F2 5 0 R + >> + >> + /Contents [6 0 R 7 0 R] +>> +endobj +{{object 4 0}} << + /Type /Font + /Subtype /Type1 + /BaseFont /Times-Roman +>> +endobj +{{object 5 0}} << + /Type /Font + /Subtype /Type1 + /BaseFont /Helvetica +>> +endobj +{{object 6 0}} << +>> +stream +BT +20 50 Td +/F1 12 Tf +(Hello, world!) Tj +0 50 Td +/F2 16 Tf +(Goodbye, world!) Tj +ET +endstream +endobj +{{object 7 0}} << +>> +stream +BT +20 50 Td +/F1 12 Tf +(Greetings, world!) Tj +endstream +endobj +{{xref}} +{{trailer}} +{{startxref}} +%%EOF |