groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: On reflection using an array for Filter is not optimal.


From: Deri James
Subject: [groff] 01/01: On reflection using an array for Filter is not optimal.
Date: Thu, 18 Jan 2018 15:26:28 -0500 (EST)

deri pushed a commit to branch master
in repository groff.

commit 333c95dfec027186e1e5cf3e305c24f4d5131331
Author: Deri James <address@hidden>
Date:   Thu Jan 18 20:25:33 2018 +0000

    On reflection using an array for Filter is not optimal.
    
    * src/devices/gropdf.pl: revert single line from commit
    18fd1fd0bf05eb9a5ba0d2be1a655a044662a8bf.
---
 ChangeLog                    | 7 +++++++
 src/devices/gropdf/gropdf.pl | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index e4e5662..ea494a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-01-18  Deri James  <address@hidden>
+
+       On reflection using an array for Filter is not optimal.
+
+       * src/devices/gropdf.pl: revert single line from commit
+       18fd1fd0bf05eb9a5ba0d2be1a655a044662a8bf.
+
 2018-01-17  Deri James  <address@hidden>
 
        All values should be 3 decimals
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index 5b8b08f..5e61e2f 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -1981,7 +1981,7 @@ sub PutObj
        if ($gotzlib && !$debug && !exists($obj[$ono]->{DATA}->{'Filter'}))
        {
            $obj[$ono]->{STREAM}=Compress::Zlib::compress($obj[$ono]->{STREAM});
-           $obj[$ono]->{DATA}->{'Filter'}=['/FlateDecode'];
+           $obj[$ono]->{DATA}->{'Filter'}='/FlateDecode';
        }
 
        $obj[$ono]->{DATA}->{'Length'}=length($obj[$ono]->{STREAM});



reply via email to

[Prev in Thread] Current Thread [Next in Thread]