Compare commits

..

No commits in common. "c4abceef796471a64047435ba50762d30ccce6a5" and "b0a66eef78472fa1342b6eeaf19a521471313e06" have entirely different histories.

3 changed files with 1 additions and 14 deletions

View File

@ -12,10 +12,6 @@ v1.1.2 (TBD)
- Fixed an issue with PDF files produced by Crystal Reports (Issue #45) - Fixed an issue with PDF files produced by Crystal Reports (Issue #45)
- Fixed an issue with PDF files produced by Microsoft Reporting Services - Fixed an issue with PDF files produced by Microsoft Reporting Services
(Issue #46) (Issue #46)
- Fixed support for compound filters where the filter array consists of a
single named filter (Issue #47)
- Fixed builds on Windows - needed windows.h header for temporary files
(Issue #48)
v1.1.1 (March 20, 2023) v1.1.1 (March 20, 2023)

View File

@ -23,7 +23,6 @@
# ifdef _WIN32 # ifdef _WIN32
# include <io.h> # include <io.h>
# include <direct.h> # include <direct.h>
# include <windows.h> // GetTempPathA
# define access _access // Map standard POSIX/C99 names # define access _access // Map standard POSIX/C99 names
# define close _close # define close _close
# define fileno _fileno # define fileno _fileno

View File

@ -464,19 +464,11 @@ _pdfioStreamOpen(pdfio_obj_t *obj, // I - Object
// Try to decode/decompress the contents of this object... // Try to decode/decompress the contents of this object...
const char *filter = pdfioDictGetName(dict, "Filter"); const char *filter = pdfioDictGetName(dict, "Filter");
// Filter value // Filter value
pdfio_array_t *fa = pdfioDictGetArray(dict, "Filter");
// Filter array
if (!filter && fa && pdfioArrayGetSize(fa) == 1)
{
// Support single-valued arrays...
filter = pdfioArrayGetName(fa, 0);
}
if (!filter) if (!filter)
{ {
// No single filter name, do we have a compound filter? // No single filter name, do we have a compound filter?
if (fa) if (pdfioDictGetArray(dict, "Filter"))
{ {
// TODO: Implement compound filters... // TODO: Implement compound filters...
_pdfioFileError(st->pdf, "Unsupported compound stream filter."); _pdfioFileError(st->pdf, "Unsupported compound stream filter.");