diff options
author | taca <taca@pkgsrc.org> | 2020-03-24 15:40:56 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2020-03-24 15:40:56 +0000 |
commit | 7295eca231860be5d63d209cd5a5a10b418c9c0d (patch) | |
tree | 388ee2e85afb8e9a470a48c8d6f3a2a07553eeb9 | |
parent | 680d8151d7df7edb7a583eb162f945946b72730b (diff) | |
download | pkgsrc-7295eca231860be5d63d209cd5a5a10b418c9c0d.tar.gz |
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
-rw-r--r-- | print/ruby-pdf-reader/Makefile | 4 | ||||
-rw-r--r-- | print/ruby-pdf-reader/PLIST | 4 | ||||
-rw-r--r-- | print/ruby-pdf-reader/distinfo | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/print/ruby-pdf-reader/Makefile b/print/ruby-pdf-reader/Makefile index 40a0a85eca6..df8a3c7da59 100644 --- a/print/ruby-pdf-reader/Makefile +++ b/print/ruby-pdf-reader/Makefile @@ -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 diff --git a/print/ruby-pdf-reader/PLIST b/print/ruby-pdf-reader/PLIST index 5de7b971236..066b64c3af5 100644 --- a/print/ruby-pdf-reader/PLIST +++ b/print/ruby-pdf-reader/PLIST @@ -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/rspec.rb ${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_cache.rb ${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 --git a/print/ruby-pdf-reader/distinfo b/print/ruby-pdf-reader/distinfo index 2cd036546ab..618874a71ef 100644 --- a/print/ruby-pdf-reader/distinfo +++ b/print/ruby-pdf-reader/distinfo @@ -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 |