[gs-commits] ghostpdl branch, master, updated. jbig2dec-0.14-1840-g7174b69

[email protected] (Ken Sharp) Sat, 9 Nov 2019 10:27:50 +0000 (UTC)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
The ghostpdl branch, master has been updated
       via  7174b69e6c0027277fe1a9ece341c3380fe7979d (commit)
      from  ba5b47dc979ca1590f280f482d432705e9b535bf (commit)

----------------------------------------------------------------------
commit 7174b69e6c0027277fe1a9ece341c3380fe7979d
Author: Ken Sharp <[email protected]>
Date:   Sat Nov 9 10:27:22 2019 +0000

    Fix PDF 2.0 /Square annotation appearance generation
    
    All the routines to generate annotation appearances are supposed to
    return a boolean value indicating whether an annotation has a valid
    Appearance (returns true, caller must run the appearance stream) or
    the appearance has been generated (false, caller must not attempt to
    run the appearance stream).
    
    The /Square annotation was failing to return false if there was no
    appearance and one had been generated.

diff --git a/Resource/Init/pdf_draw.ps b/Resource/Init/pdf_draw.ps
index d4a3701..f7fb843 100644
--- a/Resource/Init/pdf_draw.ps
+++ b/Resource/Init/pdf_draw.ps
@@ -3631,6 +3631,7 @@ currentdict /set_bc_color undef
       } ifelse
       //endannottransparency exec
       grestore
+      //false
     }ifelse
   } bind executeonly def
 


Summary of changes:
 Resource/Init/pdf_draw.ps | 1 +
 1 file changed, 1 insertion(+)