pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/ruby-pdf-reader print/ruby-pdf-reader: update to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77e82bd2d4b5
branches:  trunk
changeset: 414141:77e82bd2d4b5
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Mar 24 15:40:56 2020 +0000

description:
print/ruby-pdf-reader: update to 2.4.0

Update ruby-pdf-reader to 2.4.0.


2.4.0 (21st November 2019)

- Optimise overlapping characters code introduced in 2.3.0. Text extraction
  of pages with thousands of characters is still slower than it was in
  2.2.1, but it might tolerable for now.
  See https://github.com/yob/pdf-reader/pull/308 for details.

- Implement very basic font substitution for Type1 and TrueType fonts that
  aren't embedded

- Remove PDF::Hash class. It's been deprecated since 2010, and it's hard to
  believe anyone is still using it.

- Several small bug fixes

2.3.0 (7th November 2019)

- Text extraction now makes an effort to skip duplicate characters that
  overlap, a common approach used for a fake "bold" effect, This will make
  text extraction a bit slower - if that turns out to be an issue I'll look
  into further optimisations or provide a toggle to turn it off

- Several small bug fixes

diffstat:

 print/ruby-pdf-reader/Makefile |   4 ++--
 print/ruby-pdf-reader/PLIST    |   4 ++--
 print/ruby-pdf-reader/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (52 lines):

diff -r 5bfd371049a4 -r 77e82bd2d4b5 print/ruby-pdf-reader/Makefile
--- a/print/ruby-pdf-reader/Makefile    Tue Mar 24 15:37:56 2020 +0000
+++ b/print/ruby-pdf-reader/Makefile    Tue Mar 24 15:40:56 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2019/11/04 15:48:32 taca Exp $
+# $NetBSD: Makefile,v 1.20 2020/03/24 15:40:56 taca Exp $
 
-DISTNAME=      pdf-reader-2.2.1
+DISTNAME=      pdf-reader-2.4.0
 CATEGORIES=    print
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 5bfd371049a4 -r 77e82bd2d4b5 print/ruby-pdf-reader/PLIST
--- a/print/ruby-pdf-reader/PLIST       Tue Mar 24 15:37:56 2020 +0000
+++ b/print/ruby-pdf-reader/PLIST       Tue Mar 24 15:40:56 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2018/03/14 15:31:31 taca Exp $
+@comment $NetBSD: PLIST,v 1.10 2020/03/24 15:40:56 taca Exp $
 bin/pdf_callbacks${RUBY_SUFFIX}
 bin/pdf_object${RUBY_SUFFIX}
 bin/pdf_text${RUBY_SUFFIX}
@@ -23,7 +23,6 @@
 ${GEM_LIBDIR}/examples/text.rb
 ${GEM_LIBDIR}/examples/version.rb
 ${GEM_LIBDIR}/lib/pdf-reader.rb
-${GEM_LIBDIR}/lib/pdf/hash.rb
 ${GEM_LIBDIR}/lib/pdf/reader.rb
 ${GEM_LIBDIR}/lib/pdf/reader/afm/Courier-Bold.afm
 ${GEM_LIBDIR}/lib/pdf/reader/afm/Courier-BoldOblique.afm
@@ -70,6 +69,7 @@
 ${GEM_LIBDIR}/lib/pdf/reader/object_hash.rb
 ${GEM_LIBDIR}/lib/pdf/reader/object_stream.rb
 ${GEM_LIBDIR}/lib/pdf/reader/orientation_detector.rb
+${GEM_LIBDIR}/lib/pdf/reader/overlapping_runs_filter.rb
 ${GEM_LIBDIR}/lib/pdf/reader/page.rb
 ${GEM_LIBDIR}/lib/pdf/reader/page_layout.rb
 ${GEM_LIBDIR}/lib/pdf/reader/page_state.rb
diff -r 5bfd371049a4 -r 77e82bd2d4b5 print/ruby-pdf-reader/distinfo
--- a/print/ruby-pdf-reader/distinfo    Tue Mar 24 15:37:56 2020 +0000
+++ b/print/ruby-pdf-reader/distinfo    Tue Mar 24 15:40:56 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2019/11/04 15:48:32 taca Exp $
+$NetBSD: distinfo,v 1.18 2020/03/24 15:40:56 taca Exp $
 
-SHA1 (pdf-reader-2.2.1.gem) = dd74b58b826a1341c4b887bafceaf661333ff56c
-RMD160 (pdf-reader-2.2.1.gem) = f66621324ecbec393f107373cca140a0935c7312
-SHA512 (pdf-reader-2.2.1.gem) = 9f252ec63c138fbd5518a0f8b331fc206f425f380f1c72993d150f3d251a209c42aa6f793ebbf531289eb2ef2468fc0eaee4f613e8203e068fd8c3c1c728b786
-Size (pdf-reader-2.2.1.gem) = 210432 bytes
+SHA1 (pdf-reader-2.4.0.gem) = 57a88f9fccf94fc8302876ba3ca7c01bad027599
+RMD160 (pdf-reader-2.4.0.gem) = 9ec73ba839a2c91c99be9d67bf65bfd3dd848dc6
+SHA512 (pdf-reader-2.4.0.gem) = 6cba2e1f3279a952f6eafb39e8064b26da1098ff4a5e98bbaab17c5fd567458f375ee2590df04a9397fd6e96e56cc65c322e15b198fe9d6c254436f26dcf7e0b
+Size (pdf-reader-2.4.0.gem) = 211968 bytes



Home | Main Index | Thread Index | Old Index