metadata (PDF::Reader::Content)

    # File lib/pdf/reader/content.rb, line 258
        def metadata (root, info)
          info = decode_strings(info)

          # may be useful to some people
          callback(:pdf_version, @xref.pdf_version)

          # ye olde metadata
          callback(:metadata, [info]) if info

          # new style xml metadata
          callback(:xml_metadata,@xref.object(root[:Metadata])) if root[:Metadata]

          # page count
          if (pages = @xref.object(root[:Pages]))
            if (count = @xref.object(pages[:Count]))
              callback(:page_count, count.to_i)
            end
          end
        end