summaryrefslogtreecommitdiff
path: root/devices/gdevbit.c
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2017-02-20 10:24:14 -0800
committerRay Johnston <ray.johnston@artifex.com>2017-02-20 10:24:14 -0800
commit12091a85336f5c422545f03b4afcd1ea7362a10e (patch)
treebd947b6ee60f674d743474cec2384cf1b6487176 /devices/gdevbit.c
parent8e918ac9ca06971534c7e39087ecca05c3809ce7 (diff)
downloadghostpdl-12091a85336f5c422545f03b4afcd1ea7362a10e.tar.gz
Fix misspelled TUPLTYPE in PAM header for bitrgbtags output.
Also add in DEPTH 4
Diffstat (limited to 'devices/gdevbit.c')
-rw-r--r--devices/gdevbit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/gdevbit.c b/devices/gdevbit.c
index 20d7c1920..2da5dc488 100644
--- a/devices/gdevbit.c
+++ b/devices/gdevbit.c
@@ -765,7 +765,7 @@ bittags_print_page(gx_device_printer * pdev, FILE * prn_stream)
return_error(gs_error_VMerror);
if (!nul)
- fprintf(prn_stream, "P7\nWIDTH %d\nHEIGHT %d\nMAXVAL 255\nTUPLETYPE RGB_TAG\nENDHDR\n", pdev->width, pdev->height);
+ fprintf(prn_stream, "P7\nWIDTH %d\nHEIGHT %d\nMAXVAL 255\nDEPTH 4\nTUPLTYPE RGB_TAG\nENDHDR\n", pdev->width, pdev->height);
if ((lnum == 0) && (bottom == 0))
line_count = pdev->height - 1; /* default when LastLine == 0, FirstLine == 0 */
for (i = 0; i <= line_count; i++, lnum += step) {