File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ v1.1.2 (TBD)
12
12
- Fixed an issue with PDF files produced by Crystal Reports (Issue #45 )
13
13
- Fixed an issue with PDF files produced by Microsoft Reporting Services
14
14
(Issue #46 )
15
+ - Fixed support for compound filters where the filter array consists of a
16
+ single named filter (Issue #47 )
17
+ - Fixed builds on Windows - needed windows.h header for temporary files
18
+ (Issue #48 )
15
19
16
20
17
21
v1.1.1 (March 20, 2023)
Original file line number Diff line number Diff line change @@ -464,11 +464,18 @@ _pdfioStreamOpen(pdfio_obj_t *obj, // I - Object
464
464
// Try to decode/decompress the contents of this object...
465
465
const char * filter = pdfioDictGetName (dict , "Filter" );
466
466
// Filter value
467
+ pdfio_array_t * fa ; // Filter array
468
+
469
+ if (!filter && (fa = pdfioDictGetArray (dict , "Filter" )) != NULL && pdfioArrayGetSize (fa ) == 1 )
470
+ {
471
+ // Support single-valued arrays...
472
+ filter = pdfioArrayGetName (fa , 0 );
473
+ }
467
474
468
475
if (!filter )
469
476
{
470
477
// No single filter name, do we have a compound filter?
471
- if (pdfioDictGetArray ( dict , "Filter" ) )
478
+ if (fa )
472
479
{
473
480
// TODO: Implement compound filters...
474
481
_pdfioFileError (st -> pdf , "Unsupported compound stream filter." );
You can’t perform that action at this time.
0 commit comments