pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/xpdf4 xpdf4: Update to 4.03



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ad799231eed
branches:  trunk
changeset: 446490:1ad799231eed
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Feb 09 20:36:32 2021 +0000

description:
xpdf4: Update to 4.03

4.03 (2021-jan-28)
------------------
Implemented selection extension via shift-click, and word/line
  selection via double/triple click.
Added default bindings for ctrl-mousewheel-up/down to zoom in/out.
Added the "-nofonts" option to pdftohtml.
Added the "simple2" mode to pdftotext.
Added the "-rot" flag to xpdf, pdftoppm, and pdftopng.
Added the "-listencodings" flag to pdftotext.
Added the 'copyLinkTarget' command.
Added the 'selectionColor' xpdfrc setting.
Added the 'initialSidebarWidth' xpdfrc setting.
Added support for @"..." strings in xpdfrc files.  This includes using
  '%' as an escape character, and also the '${DATADIR}' variable.
Added a help menu item that shows all of the key bindings.
Reorganized the gradient shading rasterization code to avoid
  transparency artifacts between triangles/patches.
Use interpolation rather than subdivision to rasterize Gouraud
  triangle shadings.
Allow escaping (via the \x01 character) in command args, so that "xpdf
  -open foo(123).pdf" works correctly.
Extended the damaged file repair code to handle PDF files that use
  xref streams and object streams.
Modified pdfinfo to print the encryption algorithm used (if any).
Handle Windows shortcut (.lnk) files in Xpdf and in the command line
  tools.
Display an error dialog when trying to copy text from a protected
  file.
Updated all four of the CJK language support packages with the latest
  Adobe data.
Modified pdftohtml to draw 'invisible' text over non-horizontal words.
Catalog.pageLabels wasn't being properly initialized to NULL.  [Thanks
  to Dhiraj for the bug report.]
Added a sanity check for JBIG2 symbol width.  [Reported by Marc
  Schoenefeld.]
Fixed a bug in the fontconfig calls that was causing Xpdf to crash.
The Type 3 font cache code wasn't correctly handling the case where a
  Type 3 char refers to another char in the same T3 font.  [Thanks to
  Pangu Lab for the bug report.]
Xpdf was crashing if 'view page labels' was enabled without any
  document open.  [Thanks to TeamSeri0us for the bug report.]
The Type 1C-to-Type 1 font converter wasn't checking for
  divide-by-zero with rational numbers.  [Thanks to TeamSeri0us for
  the bug report.]
Fixed a bug in the TrueType font parser - zero-length loca tables
  weren't handled correctly.  [Thanks to TeamSeri0us for the bug
  report.]
Fixed an integer overflow bug in the transparency group setup code.
  [Thanks to TeamSeri0us for the bug report.]
Pdfinfo with the "-box" option was crashing on zero-page PDF files.
  [Thanks to TeamSeri0us for the bug report.]
The code that caches scaled images wasn't checking the rendering
  intent.  [Thanks to Martin Muskens at Ergosoft for the bug report.]
The JBIG2 decoder now checks for gibberish values in various segment
  headers, but keeps any data decoded prior to that.
Fixed two bugs in the FoFi code that handles CFF fonts.  [Thanks to
  dsmic for the bug report.]
Redesigned the image scaling code, for performance.
Cleaned up the code that sanity-checks font sizes to avoid trying to
  allocate too much memory for the font cache.
Implemented precincts in the JPEG 2000 decoder.
The page-up/down snapping code was calling TileMap::getPageTopY() with
  invalid page numbers.  [Thanks to dfandrich for the bug report.]
Added missing error-checking when parsing an annotation appearance
  stream's bbox.
Handled UTF-16 sequences in ToUnicode maps.
Rewrote the code that draws static XFA forms: combined it with the
  AcroForm code, to match Adobe's behavior.  Removed the enableXFA
  xpdfrc setting.
Check for indirect references in content streams and report an error.
Doing overprint preview in tiling patterns requires tracking the
  overprint mask at each pixel.
Check for "decompression bombs" in Flate and LZW streams.
The nextPageNoScroll and prevPageNoScroll commands weren't working
  correctly in continuous mode.
Disable stroke adjustment when drawing Type 3 characters.
The "xpdf -open" flag now constructs an absolute path, so it's not
  dependent on the current directory when xpdf was started.
Check for infinite loops in Type 1C charstring subroutines.  [Thanks
  to blbi for the bug report.]
Fixed an incomplete test for headless CFF files.  [Thanks to Chengbin
  for the bug report.]
Tweaked the code that computes segment slope in SplashXPath.cc to
  avoid problems with extremely small coordinate values.  [Thanks to
  Chengbin for the bug report.]
Check for an invalid segment length in PSOutputDev's PFB parse.
  [Thanks to Chengbin for the bug report.]
Check for JPEG 2000 segments that are only allowed in the first
  tile-part of a tile.  [Thanks to Chengbin for the bug report.]
Check for invalid AcroForm ListBox field top index.  [Thanks to
  Chengbin for the bug report.]
Check for invalid mesh shading parameters.  [Thanks to Chengbin for
  the bug report.]

diffstat:

 print/xpdf4/Makefile |   5 ++---
 print/xpdf4/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r d0cd6c508808 -r 1ad799231eed print/xpdf4/Makefile
--- a/print/xpdf4/Makefile      Tue Feb 09 20:26:48 2021 +0000
+++ b/print/xpdf4/Makefile      Tue Feb 09 20:36:32 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2021/01/25 21:39:48 nros Exp $
+# $NetBSD: Makefile,v 1.12 2021/02/09 20:36:32 nia Exp $
 
-DISTNAME=      xpdf-4.02
-PKGREVISION=   9
+DISTNAME=      xpdf-4.03
 CATEGORIES=    print
 MASTER_SITES=  https://dl.xpdfreader.com/
 
diff -r d0cd6c508808 -r 1ad799231eed print/xpdf4/distinfo
--- a/print/xpdf4/distinfo      Tue Feb 09 20:26:48 2021 +0000
+++ b/print/xpdf4/distinfo      Tue Feb 09 20:36:32 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2020/12/19 13:42:59 rhialto Exp $
+$NetBSD: distinfo,v 1.3 2021/02/09 20:36:32 nia Exp $
 
-SHA1 (xpdf-4.02.tar.gz) = 2b22ad40749e151a095d28a6cf4c9e5727f8d643
-RMD160 (xpdf-4.02.tar.gz) = ac78da37112bb05ab7a22da93dc628cf901dbfdb
-SHA512 (xpdf-4.02.tar.gz) = 72c9413fc7241dde5288137ca8a68c837d2a68e95e909dbe2afe8f374b5a7c92af4edf82918963d1c6388c947057fcf5f0ae1e6fbb2b31c3d5eb9a07d3c74ddc
-Size (xpdf-4.02.tar.gz) = 912885 bytes
+SHA1 (xpdf-4.03.tar.gz) = 3e71b44fc98460b0f97a18594feb0e3c4e4248d9
+RMD160 (xpdf-4.03.tar.gz) = a11136ebb97b14913d83fe87af0f75c8d8d4ca91
+SHA512 (xpdf-4.03.tar.gz) = 5f8478c2c4863a3c50f9b45a6fec73c7e67a74adbeaa651dd2e29982ea4cf050740874ee670672f985a323c12c28c968c16238c4238aeb52810a45e2728d622f
+Size (xpdf-4.03.tar.gz) = 936046 bytes
 SHA1 (patch-cmake-config.txt) = a2c25a258c8c72494c3b53854cabf2e51db0c32d
 SHA1 (patch-doc_sample-xpdfrc) = c16f4355efa279e79b9f27bc256e7569a348f13d
 SHA1 (patch-xpdf-qt_XpdfWidgetPrint.cc) = 8d05b6e95228f07cc571b176ec821f5b535424e8



Home | Main Index | Thread Index | Old Index