summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gs/base/gdevp14.c4
-rw-r--r--gs/base/gdevpsd.c4
-rw-r--r--gs/base/gdevtsep.c4
3 files changed, 11 insertions, 1 deletions
diff --git a/gs/base/gdevp14.c b/gs/base/gdevp14.c
index 20185424f..06b148a56 100644
--- a/gs/base/gdevp14.c
+++ b/gs/base/gdevp14.c
@@ -459,7 +459,7 @@ const pdf14_device gs_pdf14_custom_device = {
459static 459static
460ENUM_PTRS_WITH(pdf14_device_enum_ptrs, pdf14_device *pdev) 460ENUM_PTRS_WITH(pdf14_device_enum_ptrs, pdf14_device *pdev)
461{ 461{
462 index -= 5; 462 index -= 6;
463 if (index < pdev->devn_params.separations.num_separations) 463 if (index < pdev->devn_params.separations.num_separations)
464 ENUM_RETURN(pdev->devn_params.separations.names[index].data); 464 ENUM_RETURN(pdev->devn_params.separations.names[index].data);
465 index -= pdev->devn_params.separations.num_separations; 465 index -= pdev->devn_params.separations.num_separations;
@@ -472,6 +472,7 @@ case 1: return ENUM_OBJ(pdev->trans_group_parent_cmap_procs);
472case 2: return ENUM_OBJ(pdev->smaskcolor); 472case 2: return ENUM_OBJ(pdev->smaskcolor);
473case 3: ENUM_RETURN(gx_device_enum_ptr(pdev->target)); 473case 3: ENUM_RETURN(gx_device_enum_ptr(pdev->target));
474case 4: ENUM_RETURN(pdev->devn_params.compressed_color_list); 474case 4: ENUM_RETURN(pdev->devn_params.compressed_color_list);
475case 5: ENUM_RETURN(pdev->devn_params.pdf14_compressed_color_list);
475ENUM_PTRS_END 476ENUM_PTRS_END
476 477
477static RELOC_PTRS_WITH(pdf14_device_reloc_ptrs, pdf14_device *pdev) 478static RELOC_PTRS_WITH(pdf14_device_reloc_ptrs, pdf14_device *pdev)
@@ -484,6 +485,7 @@ static RELOC_PTRS_WITH(pdf14_device_reloc_ptrs, pdf14_device *pdev)
484 } 485 }
485 } 486 }
486 RELOC_PTR(pdf14_device, devn_params.compressed_color_list); 487 RELOC_PTR(pdf14_device, devn_params.compressed_color_list);
488 RELOC_PTR(pdf14_device, devn_params.pdf14_compressed_color_list);
487 RELOC_VAR(pdev->ctx); 489 RELOC_VAR(pdev->ctx);
488 RELOC_VAR(pdev->smaskcolor); 490 RELOC_VAR(pdev->smaskcolor);
489 RELOC_VAR(pdev->trans_group_parent_cmap_procs); 491 RELOC_VAR(pdev->trans_group_parent_cmap_procs);
diff --git a/gs/base/gdevpsd.c b/gs/base/gdevpsd.c
index 2741b4365..ffa945745 100644
--- a/gs/base/gdevpsd.c
+++ b/gs/base/gdevpsd.c
@@ -124,6 +124,9 @@ ENUM_PTRS_WITH(psd_device_enum_ptrs, psd_device *pdev)
124 if (index == 0) 124 if (index == 0)
125 ENUM_RETURN(pdev->devn_params.compressed_color_list); 125 ENUM_RETURN(pdev->devn_params.compressed_color_list);
126 index--; 126 index--;
127 if (index == 0)
128 ENUM_RETURN(pdev->devn_params.pdf14_compressed_color_list);
129 index--;
127 if (index < pdev->devn_params.separations.num_separations) 130 if (index < pdev->devn_params.separations.num_separations)
128 ENUM_RETURN(pdev->devn_params.separations.names[index].data); 131 ENUM_RETURN(pdev->devn_params.separations.names[index].data);
129 ENUM_PREFIX(st_device_printer, 132 ENUM_PREFIX(st_device_printer,
@@ -143,6 +146,7 @@ static RELOC_PTRS_WITH(psd_device_reloc_ptrs, psd_device *pdev)
143 } 146 }
144 } 147 }
145 RELOC_PTR(psd_device, devn_params.compressed_color_list); 148 RELOC_PTR(psd_device, devn_params.compressed_color_list);
149 RELOC_PTR(psd_device, devn_params.pdf14_compressed_color_list);
146} 150}
147RELOC_PTRS_END 151RELOC_PTRS_END
148 152
diff --git a/gs/base/gdevtsep.c b/gs/base/gdevtsep.c
index c62d9cfc6..6da007435 100644
--- a/gs/base/gdevtsep.c
+++ b/gs/base/gdevtsep.c
@@ -440,6 +440,9 @@ ENUM_PTRS_WITH(tiffsep_device_enum_ptrs, tiffsep_device *pdev)
440 if (index == 0) 440 if (index == 0)
441 ENUM_RETURN(pdev->devn_params.compressed_color_list); 441 ENUM_RETURN(pdev->devn_params.compressed_color_list);
442 index--; 442 index--;
443 if (index == 0)
444 ENUM_RETURN(pdev->devn_params.pdf14_compressed_color_list);
445 index--;
443 if (index < pdev->devn_params.separations.num_separations) 446 if (index < pdev->devn_params.separations.num_separations)
444 ENUM_RETURN(pdev->devn_params.separations.names[index].data); 447 ENUM_RETURN(pdev->devn_params.separations.names[index].data);
445 ENUM_PREFIX(st_device_printer, 448 ENUM_PREFIX(st_device_printer,
@@ -459,6 +462,7 @@ static RELOC_PTRS_WITH(tiffsep_device_reloc_ptrs, tiffsep_device *pdev)
459 } 462 }
460 } 463 }
461 RELOC_PTR(tiffsep_device, devn_params.compressed_color_list); 464 RELOC_PTR(tiffsep_device, devn_params.compressed_color_list);
465 RELOC_PTR(tiffsep_device, devn_params.pdf14_compressed_color_list);
462} 466}
463RELOC_PTRS_END 467RELOC_PTRS_END
464 468