./print/ruby-pdf-reader, Library for accessing the content of PDF files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.12.0, Package name: ruby31-pdf-reader-2.12.0, Maintainer: pkgsrc-users

The PDF::Reader library implements a PDF parser conforming as much as
possible to the PDF specification from Adobe.

It provides programmatic access to the contents of a PDF file with
a high degree of flexibility.

The PDF 1.7 specification is a weighty document and not all aspects
are currently supported. I welcome submission of PDF files that
exhibit unsupported aspects of the spec to assist with improving out
support.


Required to run:
[fonts/ruby-ttfunk] [converters/ruby-Ascii85] [security/ruby-rc4] [devel/ruby-hashery] [fonts/ruby-afm] [lang/ruby31-base]

Master sites:

Filesize: 229.5 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-03 17:14:36 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.12.0

2.12.0 (2023-12-26)

* Fix a sorbet method signature (http://github.com/yob/pdf-reader/pull/512)
* Reduce allocations when parsing PDFs with hex strings
  (http://github.com/yob/pdf-reader/pull/528)
* Fix text extraction of some rare unicode codepoints
  (http://github.com/yob/pdf-reader/pull/529)
   2022-12-04 15:20:33 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.11.0

2.11.0 (2022-10-26)

* Various bug fixes
* Expanded sorbet type annotations
   2022-08-28 07:06:07 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.10.0

2.9.2 (2022-02-20)

* Fix PDF::Reader::ObjectHash#page_references to return an Array of
  PDF::Reader::Reference (http://github.com/yob/pdf-reader/pull/444)

2.10.0 (2022-05-12)

* Various bug fixes
* Expanded sorbet type annotations
   2022-02-14 15:15:28 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.9.1

2.8.0 (2021-12-28)

* Add PDF::Reader::Page#runs for extracting text from a page with
  positioning metadata (http://github.com/yob/pdf-reader/pull/411)
* Add options to PDF::Reader::Page#text to make some behaviour configurable
  (http://github.com/yob/pdf-reader/pull/411)
	- including extracting the text for only part of the page
* Improve text positioning and extraction for Type3 fonts
  (http://github.com/yob/pdf-reader/pull/412)
* Skip extracting text that is positioned outside the page
  (http://github.com/yob/pdf-reader/pull/413)
* Fix occasional crash when reading some streams
  (http://github.com/yob/pdf-reader/pull/405)

2.9.0 (2022-01-24)

* Support additional encryption standards
  (http://github.com/yob/pdf-reader/pull/419)
* Return CropBox correctly from Page#rectangles
  (https://github.com/yob/pdf-reader/pull/420)
* For sorbet users, additional type annotations are included in the gem

2.9.1 (2022-02-04)

* Fix exception in Page#walk introduced in 2.9.0
  (http://github.com/yob/pdf-reader/pull/442)
* Other small bug fixes
   2021-12-13 15:58:57 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.7.0

2.7.0 (2021-12-13)

* Include RBI type files in the gem

  - Downstream users of pdf-reader who also use sorbet *should* find many
    parts of the API will now be typed checked by sorbet

* Fix glyph positioning in some rotation scenarios
  (http://github.com/yob/pdf-reader/pull/403)

  - Improved text extraction on some rotated pages, and rotated text on
    normal pages

* Add PDF::Reader::Page#rectangles
  (http://github.com/yob/pdf-reader/pull/402)

  - Returns page boxes (MediaBox, etc) with rotation applied, and as PORO
    rather than arrays of numbers

* Add PDF::Reader::Page#origin (http://github.com/yob/pdf-reader/pull/400)

* Add PDF::Reader::Page#{height,width}
  (http://github.com/yob/pdf-reader/pull/399)

* Overlap filter should only drop characters that overlap *and* match
  (http://github.com/yob/pdf-reader/pull/401)
   2021-11-28 09:07:38 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.6.0

2.6.0 (2021-11-12)

* Text extraction improvements

  - Improved text layout on pages with a variety of font sizes
    (http://github.com/yob/pdf-reader/pull/355)
  - Fixed text positioning for some rotated pages
    (http://github.com/yob/pdf-reader/pull/356)
  - Improved character width calculation for PDFs using built-in
    (non-embedded) ZapfDingbats (http://github.com/yob/pdf-reader/pull/373)
  - Skip zero-width characters (http://github.com/yob/pdf-reader/pull/372)

* Performance improvements

  - Reduced memory pressure when decoding TIFF images
    (http://github.com/yob/pdf-reader/pull/360)
  - Optional dependency on ascii81_native gem for faster processing of files
    using the ascii85 filter (http://github.com/yob/pdf-reader/pull/359)

* Successfully parse more files

  - Gracefully handle some non-spec compliant CR/LF issues
    (http://github.com/yob/pdf-reader/pull/364)
  - Fix parsing of some escape sequences in content streams
    (http://github.com/yob/pdf-reader/pull/368)
  - Increase the amount of junk bytes we detect and skip at the end of a
    file (382)
  - Ignore "/Prev 0" in trailers \ 
(http://github.com/yob/pdf-reader/pull/383)
  - Fix parsing of some inline images (BI ID EI tokens)
    (http://github.com/yob/pdf-reader/pull/389)
  - Gracefully handle some xref tables that incorrectly start with 1
    (http://github.com/yob/pdf-reader/pull/384)
   2021-10-26 13:15:15 by Nia Alarie | Files touched by this commit (1670)
Log message:
print: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:52:04 by Nia Alarie | Files touched by this commit (1670)
Log message:
print: Remove SHA1 hashes for distfiles