circumstances. This leads to NaNs passed to cairo which makes that
literally "nan" is inserted into the output file when printing. The
resulting file crashes ghostscript, and also poppler when it is fed
to it again.
I didn't read PDF specs yet to understand where the math is failing,
just avoided the division by zero.
changes:
-Security fixes from xpdf 3.02pl4
-bugfixes
-qt4 API improvements
pkgsrc change: add patch for CVE-2009-3607 (integer overflow
in create_surface_from_thumbnail_data)
(which got slightly out of sync) and use the original Makefile,
fixes an unresolved autoconf variable in the .pc file reported
by Hasso Tepper
bump PKGREVISION
This is a major update, switches to the 0.12 release branch.
Most notable change is that the color management stuff which we had
as patches in pkgsrc is official now.
Otherwise - many fixes and enhancements.
(while this is a .0 release I've been tracking the 0.11.x snapshots
and release candidate for a while so I don't expect big problems)
-if a choice field defines both an "export value" and a "name", use the
latter as "value" if selected (according to the PDF spec) -- makes
that I can fill in my company's travel expenses form correctly
(there is still an issue with captions of check boxes / radio
buttons which looks like a font problem)
-where iconv() is called to fill in a text field, use "UTF-8" and
"UTF-16BE" as encoding names rather than the less portable
"UTF8" and "UTF16BE" -- this makes it work on NetBSD
bump PKGREVISION
Changes since 0.10.4:
core:
* Read the UF entry if present and prefer it over F in Filespec dictionary
* Fix typo that was making CairoOutputDev crash on some files. Bug #17337
* Make JBIG2Stream more robust to corrupt input data
* Do not blindly follow loops parsing OutlineItem. Bug #18364
* Set up the error manager before calling jpeg_create_decompress. Bug #20484
* Check there is an optional content config before using it. Bug #20587
* Fix rendering of some PDF with OpenType fonts. Bug #20605
build system:
* Yet more support for build on windows
* Use AC_CHECK_HEADER to find headers. Bug #20538
* Check for pkgconfig before using it
* General autotools improvements
changes:
-fixed some crashes and a memory leak
-fixed pdfimages to work for jpeg
pkgsrc change: pulled in color management support from the development
branch (but tested by me for many weeks), as an option which is on
per default
Release 0.10.3
core:
* Fix a crash on documents with malformed outline. Bug #19024
* Fix leak on AnnotScreen destructor. Bug #19095
* Fix wrong PS generation when a large image is in Patterns. Bug #18908
* Remove BaseFile.h it was never used. Bug #19298
* Improve document saving
* Fix PS generation of PDF with malformed font Length2 definition
* Fix a leak while parsing annotations
* Fix rendering of some checkboxes
Qt4:
* Fix positioning of Form rects on PDF with cropbox
* Fix positioning of Annotation rects on PDF with cropbox. Bug #18558.
* Small documentation improvements
* Make Document::fonts() work when called more than once. Bug #19405
build system:
* CMake: look harder for openjpeg
* CMake: update the poppler core headers installation
* Autotools: do not install Function.cc as it's not a header
Qt:
* Fix deserialization of links right coordinate
Release 0.10.2
core:
* Fix a crash when selecting text in word mode
* Fix a crash in some malformed documents (second argument
of opMarkPoint is not a dictionary)
* Ensure cairo font matrix is invertable. Fixes bugs #18254
and #18429
* Fix a memory leak (Bug #18924)
Qt4:
* Fix deserization of links right coordinate
misc:
* Fix build on Solaris 10 + Sun Studio 12
* Compile with -pedantic
Release 0.10.1
core:
* Improvements in Optional Content support
* Small fix in Form support
* Fix memory leak in case of error
* Fix potential crash on text search
* Try render documents with invalid indexed color space parameters. Bug #18374
* Fix crash on text extraction when poppler-data is not installed. Bug #18023
Qt:
* Fix two memory leaks
Qt4:
* Small documentation improvement
* Fix memory leak in the demo code
Release 0.10.0
core:
* Fix crashes on PDF using Stitching or Axial Shading painting
* Fix rendering of PDF with Type1 fonts that have more than
one encoding definition per line
* Do not try to save documents that have Encryption as we
do not support that and the user ended with a broken file
* Fix crash on files with OptionalContentGroup but no Name
Qt4:
* Fix the area of the links to be correctly reported on rotated documents
misc:
* Mingw+Msys should work
Release 0.9.3 (0.10 RC 2)
core:
* Fix rendering regression on some embedded fonts
* Fix rendering regression of some special fonts
* Fix crash on documents with bogus jpeg data
Qt4:
* The printing flag defaults to true on PSConverter
* Documentation improvement
utils:
* Fix regression that made HmtlOutputDev ignore jpeg images
misc:
* Improve compilation on mingw
Release 0.9.2 (0.10 RC 1)
core:
* Fix conversion to PS some files (bug #17645)
* Small Form fixes
* Small JS fixes
* Improve memory usage of the cairo renderer
utils:
* Fix mismatched free/delete in pdftohtml
* Fix memory leak in pdftohtml
* Fix crash in pdftohtml
glib:
* Fix a crash in forms demo
misc:
* Compile with -pedantic
Release 0.9.1 (0.10 Beta 2)
Core:
* Fix crash on some AESv2 encrypted files (bugs #13972, #16092, #17523)
* Improve parsing of broken files (bug #17568)
glib frontend:
* Minor improvements to the demo application
utils:
* pdftohtml: Generate the outline file in the same place
of the other generated files (bug #17504)
Release 0.9.0 (0.10 Beta 1)
Core:
* Initial JavaScript support
* Annotation improvements
* Improvements in the Arthur based renderer
* Improvements in the Cairo based renderer
* Added a JPEG2000 decoder based on OpenJPEG
* Small fixes in ActualText implementation
* Fix jpeg rendering when not using the libjpeg based decoder
* Movie fixes
* Do not get out of memory on documents that specify huge fonts
* Emulate Adobe Reader behaviour on documents with duplicate keys in Dictionaries
* Forms improvements
Qt4 frontend:
* Annotation improvements
* Forms improvements
* Add the possibility of extracting embedded fonts
* Initial Movie support
* Documentation improvements
* Small improvements in the PS exporter
glib frontend:
* Annotation improvements
* Attachment fixes
utils:
* updated man pages
* Added -listenc to pdfinfo and pdftotext
Changes since 0.8.5:
Core:
* Call error() when font loading fails
* Be less strict parsing TTF tables (bug #16940)
* Fix crash due to uninitialized variable
Qt 4 frontend:
* Make the paper color setting working as it should
* Make sure to use the correct page width/height for form widgets coordinates
changes:
-fix crashes on certain input
-Fix leaks
-Do not limit CharCodeToUnicodeString to 8 characters
-Support for surrogates outside the BMP plane
pkgsrc note: the crashes had been fixed by patches in pkgsrc before
changes:
* Fix caching of members in the glib frontend causing issues with rendering
* Change glib public api to have a correct naming
* Some better error handling on corner cases
* Check the document stream is seekable when opening it
* Build fixes with autotools and with cmake
* Fix infinite recursion on some malformed documents when consulting the fonts
* Fix possible crash when asking for Movie contents
changes:
-Fix crash in the Splash renderer when T3 fonts are badly defined
-Draw underlined Links correctly
-utils: Fix two use after free bugs in HtmlOutputDev.cc
-some fixes to the qt4 frontend
This switches to the new 0.6 branch which is not source compatible
to 0.5.x.
Most notable changes:
-Merge xpdf 3.02 changes
-Support for Sound objects
-Support for Opening/Closing page actions
-Support for page duration
-Improve PS Tokenizer performance
-Beginning of Interactive Form support
-xpdfrc is no longer used for anything
-Fix security issue MOAB-06-01-2007
-Lots of bugs fixed
changes:
-improved Qt bindings
-Cairo backend now supports masked images
-make glib bindings more language binding friendly
-Search now works with ligatures
-glib bindings now has an entry point to render to a cairo_t
-GCC 4.1 and MSVC compilation fixes
-bugfixes and cleanup
directory to the poppler/patches/ directory.
The checksum was removed, but patch still existed. So keep the patch
in same place as the distinfo.
Uncomment the PATCHDIR for this.
(The patch is so libpoppler is not rebuilt -- just use the
previously installed version. If there is any change my next
patch updates PKGREVISION so will cover this too.)
This is a development version but is needed to update evince to 0.5.2,
which is part of GNOME 2.14.0.
Release 0.5.1
- Support for embedded files.
- Handle 0-width lines correctly.
- Avoid external file use when opening fonts.
- Only use vector fonts returned from fontconfig (#5758).
- Fix scaled 1x1 pixmaps use for drawing lines (#3387).
- drawSoftMaskedImage support in cairo backend.
- Misc bug fixes: #5922, #5946, #5749, #5952, #4030, #5420.
Release 0.5.0
- Font matching code for non embedded fonts now use fontconfig
instead of hard coded list of fonts.
- Merge in Xpdf 3.01 changes.
- Add command line tools from Xpdf.
- Make install of Xpdf header files ./configure'able.
It is used for poppler-glib. The patch is in poppler-glib.
Since no patch directory in poppler, building poppler
does not care and seems to ignore this.
(Maybe should just uncomment out the PATCHDIR here and move the
patch here too.)
From ChangeLog:
2006-01-10 Kristian Høgsberg <krh@redhat.com>
* configure.ac: Bump realease to 0.4.4.
* NEWS: Sum up changes.
* poppler/DCTStream.cc: Backport patch for KDE #119569.
2006-01-10 Kristian Høgsberg <krh@redhat.com>
Security patch from Martin Pitt (#5516). Multiple integer/buffer
overflows.
* poppler/Stream.cc (CCITTFaxStream::CCITTFaxStream): Check
columns for negative or large values (CVE-2005-3624).
* poppler/Stream.cc: Reset numComps to 0 since it's a global
variable that is used later (CVE-2005-3627).
* poppler/Stream.cc (DCTStream::readHuffmanTables): Fix out of
bounds array access in Huffman tables (CVE-2005-3627).
* poppler/Stream.cc (DCTStream::readMarker): Check for EOF in
while loop to prevent endless loops (CVE-2005-3625).
* poppler/JBIG2Stream.cc (JBIG2Bitmap::JBIG2Bitmap,
JBIG2Bitmap::expand, JBIG2Stream::readHalftoneRegionSeg): Check
user supplied width and height against invalid values. Allocate
one extra byte to prevent out of bounds access in combine().
2006-01-10 Kristian Høgsberg <krh@redhat.com>
* poppler/Stream.cc: Fix bug in last security patch (#5514).
Also, for the record, the security patch also fixes CVE-2005-3192
and CVE-2005-3193.
2005-12-18 Albert Astals Cid <aacid@kde.org>
* configure.ac: Better jpeg detection, refer to ml PCbsd problem
* qt/Makefile.am: Backport fix build on systems where fontconfig is
not on /usr/include