github.com/pdfcpu/pdfcpu@v0.11.1/pkg/testdata/pdf20/SimplePDF2.0.pdf (about)

     1  %PDF-2.0
     2  
     3  1 0 obj
     4  <<
     5    /Type /Catalog
     6    /Metadata 2 0 R
     7    /Pages 3 0 R
     8  >>
     9  endobj
    10  
    11  2 0 obj
    12  <<
    13    /Length 2351
    14    /Type /Metadata
    15    /Subtype /XML
    16  >>
    17  stream
    18  <x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Insert XMP tool name here.'>
    19    <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
    20      <rdf:Description rdf:about="" xmlns:pdf="http://ns.adobe.com/pdf/1.3/">
    21        <pdf:Producer>Datalogics - example producer program name here</pdf:Producer>
    22        <pdf:Copyright>Copyright 2017 PDF Association</pdf:Copyright>
    23        <pdf:Keywords>PDF 2.0 sample example</pdf:Keywords>
    24      </rdf:Description>
    25      <rdf:Description rdf:about="" xmlns:xap="http://ns.adobe.com/xap/1.0/">
    26        <xap:CreateDate>2017-05-24T10:30:11Z</xap:CreateDate>
    27        <xap:MetadataDate>2017-07-11T07:55:11Z</xap:MetadataDate>
    28        <xap:ModifyDate>2017-07-11T07:55:11Z</xap:ModifyDate>
    29        <xap:CreatorTool>Datalogics - example creator tool name here</xap:CreatorTool>
    30      </rdf:Description>
    31      <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
    32        <dc:format>application/pdf</dc:format>
    33        <dc:title>
    34          <rdf:Alt>
    35            <rdf:li xml:lang="x-default">A simple PDF 2.0 example file</rdf:li>
    36          </rdf:Alt>
    37        </dc:title>
    38        <dc:creator>
    39          <rdf:Seq>
    40            <rdf:li>Datalogics Incorporated</rdf:li>
    41          </rdf:Seq>
    42        </dc:creator>
    43        <dc:description>
    44          <rdf:Alt>
    45            <rdf:li xml:lang="x-default">Demonstration of a simple PDF 2.0 file.</rdf:li>
    46          </rdf:Alt>
    47        </dc:description>
    48        <dc:rights>
    49          <rdf:Alt>
    50            <rdf:li xml:lang="x-default">Copyright 2017 PDF Association. Licensed to the public under Creative Commons Attribution-ShareAlike 4.0 International license.</rdf:li>
    51          </rdf:Alt>
    52        </dc:rights>
    53      </rdf:Description>
    54      <rdf:Description rdf:about="" xmlns:xapRights="http://ns.adobe.com/xap/1.0/rights/">
    55        <xapRights:Marked>True</xapRights:Marked>
    56      </rdf:Description>
    57      <rdf:Description rdf:about="" xmlns:cc="http://creativecommons.org/ns#">
    58        <cc:license rdf:resource="https://creativecommons.org/licenses/sa/4.0/" />
    59      </rdf:Description>
    60      <rdf:Description rdf:about="" xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/">
    61        <xapMM:DocumentID>uuid:3eef2166-8332-abb4-3d31-77334578873f</xapMM:DocumentID>
    62        <xapMM:InstanceID>uuid:991bcce7-ee70-11a3-91aa-77bbe2181fd8</xapMM:InstanceID>
    63      </rdf:Description>
    64    </rdf:RDF>
    65  </x:xmpmeta>
    66  endstream
    67  endobj
    68  
    69  3 0 obj
    70  <<
    71    /Type /Pages
    72    /Kids [4 0 R]
    73    /Count 1
    74  >>
    75  endobj
    76  
    77  4 0 obj
    78  <<
    79    /Type /Page
    80    /Parent 3 0 R
    81    /MediaBox [0 0 612 396]
    82    /Contents [5 0 R 6 0 R]
    83    /Resources <<
    84      /Font << /F1 7 0 R >>
    85    >>
    86  >>
    87  endobj
    88  
    89  5 0 obj
    90  << /Length 744 >>
    91  stream
    92  % Save the current graphic state
    93  q 
    94  
    95  % Draw a black line segment, using the default line width.
    96  150 250 m
    97  150 350 l
    98  S
    99  
   100  % Draw a thicker, dashed line segment.
   101  4 w % Set line width to 4 points
   102  [4 6] 0 d % Set dash pattern to 4 units on, 6 units off
   103  150 250 m
   104  400 250 l
   105  S
   106  [] 0 d % Reset dash pattern to a solid line
   107  1 w % Reset line width to 1 unit
   108  
   109  % Draw a rectangle with a 1-unit red border, filled with light blue.
   110  1.0 0.0 0.0 RG % Red for stroke color
   111  0.5 0.75 1.0 rg % Light blue for fill color
   112  200 300 50 75 re
   113  B
   114  
   115  % Draw a curve filled with gray and with a colored border.
   116  0.5 0.1 0.2 RG
   117  0.7 g
   118  300 300 m
   119  300 400 400 400 400 300 c
   120  b
   121  
   122  % Restore the graphic state to what it was at the beginning of this stream
   123  Q
   124  
   125  endstream
   126  endobj
   127  
   128  6 0 obj
   129  << /Length 166 >>
   130  stream
   131  % A text block that shows "Hello World"
   132  % No color is set, so this defaults to black in DeviceGray colorspace
   133  BT
   134    /F1 24 Tf
   135    100 100 Td
   136    (Hello World) Tj
   137  ET
   138  endstream
   139  endobj
   140  
   141  7 0 obj
   142  <<
   143    /Type /Font
   144    /Subtype /Type1
   145    /BaseFont /Helvetica
   146    /FirstChar 33
   147    /LastChar 126
   148    /Widths 8 0 R
   149    /FontDescriptor 9 0 R
   150  >>
   151  endobj
   152  
   153  8 0 obj
   154  [ 278 355 556 556 889 667 222 333 333 389 584 278 333 278 278 556
   155    556 556 556 556 556 556 556 556 556 278 278 584 584 584 556 1015
   156    667 667 722 722 667 611 778 722 278 500 667 556 833 722 778 667
   157    778 722 667 611 722 667 944 667 667 611 278 278 278 469 556 222
   158    556 556 500 556 556 278 556 556 222 222 500 222 833 556 556 556
   159    556 333 500 278 556 500 722 500 500 500 334 260 334 584 ]
   160  endobj
   161  
   162  % This FontDescriptor contains only the required entries for PDF 2.0
   163  % for unembedded standard 14 fonts that contain Latin characters
   164  9 0 obj
   165  <<
   166    /Type /FontDescriptor
   167    /FontName /Helvetica
   168    /Flags 32
   169    /FontBBox [ -166 -225 1000 931 ]
   170    /ItalicAngle 0
   171    /Ascent 718
   172    /Descent -207
   173    /CapHeight 718
   174    /StemV 88
   175    /MissingWidth 0  
   176  >>
   177  endobj
   178  
   179  % The object cross-reference table. The first entry
   180  % denotes the start of PDF data in this file.
   181  xref
   182  0 10
   183  0000000000 65535 f
   184  0000000012 00000 n
   185  0000000092 00000 n
   186  0000002543 00000 n
   187  0000002615 00000 n
   188  0000002778 00000 n
   189  0000003583 00000 n
   190  0000003807 00000 n
   191  0000003968 00000 n
   192  0000004520 00000 n
   193  trailer
   194  <<
   195    /Size 10
   196    /Root 1 0 R
   197    /ID [ <31c7a8a269e4c59bc3cd7df0dabbf388><31c7a8a269e4c59bc3cd7df0dabbf388> ]
   198  >>
   199  startxref
   200  4847
   201  %%EOF