[gs-commits] ghostpdl branch, pdfi, updated. jbig2dec-0.14-2330-g23c2dc5

[email protected] (Nancy Durgin) Wed, 9 Oct 2019 23:42:57 +0000 (UTC)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
The ghostpdl branch, pdfi has been updated
       via  23c2dc5ebbb1bcd8dd7ba4c06d156c57c2482c5a (commit)
      from  f5167ab6086e59f7aa344d90cfcceb83d4df9902 (commit)

----------------------------------------------------------------------
commit 23c2dc5ebbb1bcd8dd7ba4c06d156c57c2482c5a
Author: Nancy Durgin <[email protected]>
Date:   Wed Oct 9 16:42:11 2019 -0700

    Set smoothness to 0.02 to match gs code
    
    Causes tons of changes, mainly in gradients.
    They look like progressions to me!

diff --git a/pdf/pdf_page.c b/pdf/pdf_page.c
index d0216f8..060f841 100644
--- a/pdf/pdf_page.c
+++ b/pdf/pdf_page.c
@@ -307,6 +307,7 @@ int pdfi_page_render(pdf_context *ctx, uint64_t page_num)
     gs_settextrenderingmode(ctx->pgs, 0);
     code = gs_setwordspacing(ctx->pgs, (double)0.0);
     code = gs_settexthscaling(ctx->pgs, (double)100.0);
+    code = gs_setsmoothness(ctx->pgs, 0.02); /* Match gs code */
     ctx->TextBlockDepth = 0;
 
     if (ctx->pgs->set_transfer.red == 0x00) {


Summary of changes:
 pdf/pdf_page.c | 1 +
 1 file changed, 1 insertion(+)