File xpdf.changes of Package xpdf

-------------------------------------------------------------------
Wed May 15 17:27:29 UTC 2024 - ecsos <ecsos@opensuse.org>

- Update to 4.05
  - Added the '-overwrite' option to pdftohtml.
  - Added the 'ignoreWrongSizeToUnicode' xpdfrc setting.
  - Added the loadSession and saveSession commands, and the 'Load last
    session' menu item.
  - Added code to automatically save and restore the xpdf session under
    control of a session manager.  This has not been thoroughly tested
    yet.
  - Added the zoomScaleFactor xpdfrc setting.
  - Added the zoomValues xpdfrc setting.
  - Added a 'smart case' option for search in xpdf.
  - Added the '-custom' flag to pdfinfo.
  - Added a color/gray/mono switch to the 'save image' dialog.
  - Added the separateRotatedText xpdfrc setting.
  - Added the '-meta' flag to pdftohtml.
  - Added the allowLinksToChangeZoom xpdfrc setting.
  - Added the 'uses JavaScript' output to pdfinfo.
  - Implemented pattern stroking of text.  Also fixed the various
    combinations of filling/stroking with color/pattern + clipping, some
    of which weren't being handled correctly.
  - Pdftops now (re)compresses any uncompressed or RLE-compressed images.
  - On an out-of-memory error, the command line tools now exit with an
    "out of memory" message, rather than an exception message.
  - Add code to pdfimages to extract images from tiling patterns.
  - Pdftops can now embed external 8-bit OpenType CFF fonts.
  - Fixed a corner case in the text extractor related to characters drawn
    at extremely large coordinates.  [Thanks to elvadisas for the bug
    report.]
  - Fixed an integer overflow in the transparency group code.  [Thanks to
    elvadisas for the bug report.]
  - Modify Annots::Annots() to skip annotations that have been turned into
    AcroFormFields -- invalid Widget-type annots will now be rendered as
    annots.
  - Added a missing integer overflow check in the JBIG2 decoder.  [Thanks
    to sangjun for the bug report.]
  - Added some sanity checks to the JBIG2 decoder.  [Thanks to sangjun and
    ycdxsb for the bug reports.]
  - Tiling patterns that use non-Normal blend modes can't be cached.
  - Fixed a bitmap size sanity check in the JBIG2 decoder.  [Thanks to Han
    Zheng (NCNIPC of China, Hexhive), for the bug report.]
  - Fixed a missing bounds check in FoFiType1C::convertToOpenType (used in
    pdftohtml).  [Thanks to cyth for the bug report.]
  - Fixed a use-after-free bug in pdftohtml.  [Thanks to FeRDNYC for the
    bug report.]
  - Merged aconf2.h into aconf.h; corrected the cmake config settings for
    paths; added the BASE14_FONT_DIR config option.  [Thanks to FeRDNYC
    for the suggestions.]
  - Fixed a missing check for a zero-length index in the CFF (Type1C) font
    parser.  [Thanks to Yuhang Huang (NCNIPC of China), Han Zheng
    (NCNIPC of China, Hexhive), Wanying Cao, Jiayu Zhao (NCNIPC of
    China) for the bug report.]
  - Add an object loop check to Catalog::countPageTree().
  - The DCT decoder wasn't checking for an SOF before the first SOS.
    [Thanks to cyth for the bug report.]
  - The inline image decoder was skipping to end-of-stream in the wrong
    stream object.  [Thanks to cyth for the bug report.]
  - Fixed a bug in the JPEG 2000 decoder when nLayers > 1 and the
    'termination on each coding pass' flag is set.
  - Removed the #pragma interface/implementation stuff (which is outdated
    and useless at this point).
  - Fixed a bug in the ICCBased color space parser that was allowing the
    number of components to be zero.  (CVE-2023-2662)  [Thanks to
    huckleberry for the bug report.]
  - Added checks for PDF object loops in AcroForm::scanField()
    (CVE-2018-7453, CVE-2018-16369, CVE-2022-36561, CVE-2022-41844),
    Catalog::readPageLabelTree2() (CVE-2023-2663), and
    Catalog::readEmbeddedFileTree() (CVE-2023-2664).
  - The zero-width character problem can also happen if the page size is
    very large -- that needs to be limited too, the same way as
    character position coordinates.  (CVE-2023-3044) [Thanks to jlinliu
    for the bug report.]
  - Add some missing bounds check code in DCTStream.  [Thanks to Jiahao
    Liu for the bug report.]
  - Fix a deadlock when an object stream's length field is contained in
    another object stream.  (CVE-2023-3436) [Thanks to Jiahao Liu for
    the bug report.]
  - Correctly handle tiling patterns with negative step values.
  - Ignore overprint in soft masks (to match Adobe's behavior).

-------------------------------------------------------------------
Wed Sep 14 06:02:27 UTC 2022 - ecsos <ecsos@opensuse.org>

- Update to 4.04
  - When closing a file, save the current page number in ~/.xpdf.pages,
    and restore it next time the file is opened.  This can be disabled
    with "savePageNumbers no" in your xpdfrc file.
  - Allow the tab list to be reordered, using drag-and-drop.
  - Added a document information dialog, with metadata and fonts, to xpdf.
  - Pdftohtml now generates HTML links for URI links anchored on text.
  - Added the useTrueTypeUnicodeMapping xpdfrc setting.
  - Added the 'enableXFA' xpdfrc setting back: if set to 'no', xpdf will
    not read an XFA form, meaning all form info comes from the AcroForm.
  - Add support for long paths on Windows 10.
  - Added the "-formfields" option to pdftohtml.
  - Added the "-embedbackground" and "-embedfonts" options to pdftohtml.
  - Added the "-vstretch" option to pdftohtml.
  - Added the "-verbose" flag to pdfimages, pdftohtml, pdftopng, pdftoppm,
    pdftops, and pdftotext.
  - Added the showAttachmentsPane, showLayersPane, and showOutlinePane
    commands.
  - Added the 'openFile2' command to xpdf.
  - Added the showMenuBar, hideMenuBar, and toggleMenuBar commands to
    xpdf.
  - Rearrange file names in the tab list to "foo.pdf [/full/path/]", to
    improve the usability of the (narrow) tab list.
  - Added the 'imageMaskAntialias' xpdfrc setting.
  - Added the '-table' switch to pdftohtml.
  - Fixed a couple of progression order bugs in the JPEG 2000 decoder.
  - Fixed a problem with subsampled pixel index computations in the JPEG
    2000 decoder.
  - Fixed a couple of memory leaks triggered by fuzzed PDF files.
  - Changed pdftohtml to generate spans with 'class=' instead of 'id=', so
    there aren't duplicate ids.  Also removed the unused id in the
    background img element.
  - Optimized SplashOutputDev::drawTilingPattern for the case where the
    tile is much larger than the area being drawn (i.e., the clipping
    bbox).  In this case, we can render just the needed portion of the
    tile.
  - Added a missing zero check for precinct size in the JPEG 2000 decoder.
  - Added a missing null check in the XFA form scanner.
  - Deal with xref streams that include a free entry with gen=0xffffffff.
  - Fixed a problematic corner case in looking up XObject resources.
  - The unicodeRemapping config command wasn't correctly handling unsorted
    remapping files.
  - Improved handling of RTL text in the text extractor.
  - Extended the saveTabState/loadTabState commands to save/restore
    display mode, zoom, rotation, and scroll position for each tab.
  - Added support for Qt6.
  - Added a missing bounds check on stream DecodeParms arrays.
  - Fixed an integer overflow check in XRef::readXRefTable.
  - The builtin Latin1 encoding was mapping 'endash' instead of
    'softhyphen' to 0xad.
  - Fixed a bug in PSOutputDev::checkPageSlice() when built without
    SPLASH_CMYK.
  - Added missing array length and type checks in Gfx::doForm().
  - Fixed an integer overflow security hole in the JBIG2 decoder.
  - Substitute Helvetica for undefined fonts and bad font objects.
  - Added an integer overflow check in JPXStream.  (JPXStream issue)
  - The DCT (JPEG) decoder was allowing the 'interleaved' flag to be
    changed after the first scan of the image.  (CVE-2022-24106)

-------------------------------------------------------------------
Sun Feb 21 09:56:55 UTC 2021 - ecsos <ecsos@opensuse.org>

- Update to 4.03
  - 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.
  - Added a sanity check for JBIG2 symbol width.
  - 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.
  - Xpdf was crashing if 'view page labels' was enabled without any
    document open.
  - The Type 1C-to-Type 1 font converter wasn't checking for
    divide-by-zero with rational numbers.
  - Fixed a bug in the TrueType font parser - zero-length loca tables
    weren't handled correctly.
  - Fixed an integer overflow bug in the transparency group setup code.
  - Pdfinfo with the "-box" option was crashing on zero-page PDF files.
  - 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.
  - 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.
  - 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.
  - Fixed an incomplete test for headless CFF files.
  - Tweaked the code that computes segment slope in SplashXPath.cc to
    avoid problems with extremely small coordinate values.
  - Check for an invalid segment length in PSOutputDev's PFB parse.
  - Check for JPEG 2000 segments that are only allowed in the first
    tile-part of a tile.
  - Check for invalid AcroForm ListBox field top index.
  - Check for invalid mesh shading parameters.
- Change download url.
- Set DUSE_FIXEDPOINT to OFF because it is only for specific 
  situations and not heavily tested. 
  And it can produce segmentation faults.

-------------------------------------------------------------------
Fri May 29 14:25:13 UTC 2020 - ecsos <ecsos@opensuse.org>

- Update to version 4.02

-------------------------------------------------------------------
Sat Mar 16 08:42:15 UTC 2019 - Андрей Алыпов <and.november@opensuse.org>

- update to version 4.01.01

-------------------------------------------------------------------
Sat Feb 23 16:11:23 UTC 2019 - Андрей Алыпов <and.november@opensuse.org>

- update to version 4.01

-------------------------------------------------------------------
Tue Jan  8 07:07:48 UTC 2019 - Андрей Алыпов <and.november@opensuse.org>

- added package xpdf-tools

-------------------------------------------------------------------
Mon Jan  7 22:19:29 UTC 2019 - Андрей Алыпов <and.november@opensuse.org>

- initial package (version 4.00) for openSUSE
openSUSE Build Service is sponsored by