[gs-commits] ghostpdl branch, pdfi, updated. jbig2dec-0.14-2115-gf6ba9de

[email protected] (Nancy Durgin)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
The ghostpdl branch, pdfi has been updated
       via  f6ba9de1bfc18b1c437711d23a5f7e974727f524 (commit)
      from  cf23995b2db649c20fcab33fb32f9824dd493de2 (commit)

----------------------------------------------------------------------
commit f6ba9de1bfc18b1c437711d23a5f7e974727f524
Author: Nancy Durgin <[email protected]>
Date:   Wed Aug 21 15:21:54 2019 -0700

    Fixed some stuff with patterns and DefaultQState
    
    - fixed bug in setting the DefaultQState (was ignoring its parameter, duh)
    - run pattern stream in pdfi_run_context()

diff --git a/pdf/pdf_gstate.c b/pdf/pdf_gstate.c
index 2cde8e8..8f19609 100644
--- a/pdf/pdf_gstate.c
+++ b/pdf/pdf_gstate.c
@@ -960,7 +960,7 @@ int pdfi_free_DefaultQState(pdf_context *ctx)
 int pdfi_set_DefaultQState(pdf_context *ctx, gs_gstate *pgs)
 {
     pdfi_free_DefaultQState(ctx);
-    ctx->DefaultQState = gs_gstate_copy(ctx->pgs, ctx->memory);
+    ctx->DefaultQState = gs_gstate_copy(pgs, ctx->memory);
     if (ctx->DefaultQState == NULL)
         return_error(gs_error_VMerror);
     return 0;
diff --git a/pdf/pdf_pattern.c b/pdf/pdf_pattern.c
index 8212bd1..00d396b 100644
--- a/pdf/pdf_pattern.c
+++ b/pdf/pdf_pattern.c
@@ -146,7 +146,7 @@ pdfi_pattern_paint_stream(pdf_context *ctx, const gs_client_color *pcc)
     int code = 0;
 
     /* Interpret inner stream */
-    code = pdfi_interpret_inner_content_stream(ctx, pat_dict, page_dict, true, "PATTERN");
+    code = pdfi_run_context(ctx, pat_dict, page_dict, true, "PATTERN");
 
     return code;
 }


Summary of changes:
 pdf/pdf_gstate.c  | 2 +-
 pdf/pdf_pattern.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.