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

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 2.16.0nb1, Package name: ruby34-pdf-reader-2.16.0nb1, 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: 239 KB

Version history: (Expand)


CVS history: (Expand)


   2026-08-12 17:39:19 by Takahiro Kambe | Files touched by this commit (1)
Log message:
print/ruby-pdf-reader: fix dependency

No need to depend on ruby-rc4.

Bump PKGREVISION.
   2026-08-12 06:54:48 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.16.0

2.16.0 (2026-08-09)

* Add new method that use Point(x, y) instead of Array[Integer], for
  improved typing with sorbet (https://github.com/yob/pdf-reader/pull/578)

* Support extracting text via ActualText annotations
  (https://github.com/yob/pdf-reader/pull/587)

* Accept any IO-like object in PDF::Reader.new()
  (https://github.com/yob/pdf-reader/pull/607)

* Drop dependency on ruby-rc4 gem
  (https://github.com/yob/pdf-reader/pull/606)

* Expanded type annotations

* Add dynamically generated RBS type signaturesd to published gem
  (https://github.com/yob/pdf-reader/pull/580)

* A few bug fixes to CMap parsing and Unicode extraction
  - https://github.com/yob/pdf-reader/pull/582
  - https://github.com/yob/pdf-reader/pull/593

* Fix occasional exception when parsing PDFDoc strings with invalid bytes
  (https://github.com/yob/pdf-reader/pull/590)

* Fox occasional exception parsing differnce tables with an unmatched
  surrgate pair

  - https://github.com/yob/pdf-reader/pull/604
  - https://github.com/yob/pdf-reader/pull/605

* Reduce object allocations when parsing many PDFs

 - https://github.com/yob/pdf-reader/pull/595
  - https://github.com/yob/pdf-reader/pull/596
  - https://github.com/yob/pdf-reader/pull/598
  - https://github.com/yob/pdf-reader/pull/599
  - https://github.com/yob/pdf-reader/pull/600
  - https://github.com/yob/pdf-reader/pull/601

* Add truffleruby to the test matrix in CI
  (https://github.com/yob/pdf-reader/pull/583)

* Add JRuby 10.1 to the test matrix
  (https://github.com/yob/pdf-reader/pull/597)
   2026-01-18 05:51:24 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.15.1

2.15.1 (2025-12-28)

* Add ruby 4.0 to the CI matrix (https://github.com/yob/pdf-reader/pull/575)

* Avoiding raising an error when ToUnicode poins to the wrong object type
  (https://github.com/yob/pdf-reader/pull/573)

* Skip invalid UTF-16 surrogate pairs in CMaps
  (https://github.com/yob/pdf-reader/pull/574)
   2025-08-14 17:11:41 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.15.0

2.15.0 (2025-08-13)

* Overhaul sorbet types, moving from an external RBI file to inline comments
  in RBS syntax

  - multiple PRs, but mainly https://github.com/yob/pdf-reader/pull/562

  - See https://railsatscale.com/2025-04-23-rbs-support-for-sorbet/

  - No impact expected for most users, but projects that use sorbet may find
    subtle changes in the RBI file that is shipped with the gem

* Relax version requirements for dependency afm, allow 1.x
  (https://github.com/yob/pdf-reader/pull/557)

* Improve text positioning logic in some PDFs
  (https://github.com/yob/pdf-reader/pull/554)

* Multiple fixes for encrypted files

  - Some files with passwords > 32 bytes long
    (https://github.com/yob/pdf-reader/pull/555)

  - Some files that contain cipher text with a 16 byte IV and no further
    blocks (https://github.com/yob/pdf-reader/pull/561)

  - Some files that encrypted data with no padding
    (https://github.com/yob/pdf-reader/pull/564)

* Add jruby 10 to CI matrix (https://github.com/yob/pdf-reader/pull/552)
   2025-02-09 15:46:22 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.14.1

2.14.0 (2025-01-29)

* Raise minimum supported ruby to 2.1
  (https://github.com/yob/pdf-reader/pull/543)

* Add support for filtering to Page#text
  (https://github.com/yob/pdf-reader/pull/545)

2.14.1 (2025-02-04)

* Fix issue in RBI signatures, introduced in
  v2.14.0(https://github.com/yob/pdf-reader/pull/550)
   2024-11-06 15:45:03 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
print/ruby-pdf-reader: update to 2.13.0

2.13.0 (2024-11-02)

* Permit Ascii86 v1.0 and v2.0 (https://github.com/yob/pdf-reader/pull/539)

* Allow StringIO type for PDF::Reader input
  (https://github.com/yob/pdf-reader/pull/535)
   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