[gs-commits] ghostpdl branch, pdfi, updated. jbig2dec-0.14-2338-gb7802a1

[email protected] (Nancy Durgin) Tue, 22 Oct 2019 21:53:58 +0000 (UTC)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
The ghostpdl branch, pdfi has been updated
       via  b7802a1880ef4b16386a3be008bbbfac01d0cb6a (commit)
      from  ee3133a3f2eb684177431c98cc811e183e9651c9 (commit)

----------------------------------------------------------------------
commit b7802a1880ef4b16386a3be008bbbfac01d0cb6a
Author: Nancy Durgin <[email protected]>
Date:   Tue Oct 22 14:35:19 2019 -0700

    Fixed typo in Absolute rendering intent for 'gs' and 'ri' ops

diff --git a/pdf/pdf_colour.c b/pdf/pdf_colour.c
index 7895162..3d3c0d7 100644
--- a/pdf/pdf_colour.c
+++ b/pdf/pdf_colour.c
@@ -285,7 +285,7 @@ int pdfi_ri(pdf_context *ctx)
         code = gs_setrenderingintent(ctx->pgs, 2);
     } else if (pdfi_name_is(n, "RelativeColorimetric")) {
         code = gs_setrenderingintent(ctx->pgs, 1);
-    } else if (pdfi_name_is(n, "AbsoluteColoimetric")) {
+    } else if (pdfi_name_is(n, "AbsoluteColorimetric")) {
         code = gs_setrenderingintent(ctx->pgs, 3);
     } else {
         code = gs_error_undefined;
diff --git a/pdf/pdf_gstate.c b/pdf/pdf_gstate.c
index 32116da..4e47ac8 100644
--- a/pdf/pdf_gstate.c
+++ b/pdf/pdf_gstate.c
@@ -614,7 +614,7 @@ static int GS_RI(pdf_context *ctx, pdf_dict *GS, pdf_dict *stream_dict, pdf_dict
         code = gs_setrenderingintent(ctx->pgs, 2);
     } else if (pdfi_name_is(n, "RelativeColorimetric")) {
         code = gs_setrenderingintent(ctx->pgs, 1);
-    } else if (pdfi_name_is(n, "AbsoluteColoimetric")) {
+    } else if (pdfi_name_is(n, "AbsoluteColorimetric")) {
         code = gs_setrenderingintent(ctx->pgs, 3);
     } else {
         code = gs_error_undefined;


Summary of changes:
 pdf/pdf_colour.c | 2 +-
 pdf/pdf_gstate.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)