diff options
author | Ray Johnston <ray.johnston@artifex.com> | 2017-03-29 20:31:49 -0700 |
---|---|---|
committer | Ray Johnston <ray.johnston@artifex.com> | 2017-03-30 09:42:14 -0700 |
commit | 5499169177746ec62d8440f193be418999f156d4 (patch) | |
tree | d3d273bfe82e61dd45e0237d07462a2c74fb3bb1 /devices/gdevbit.c | |
parent | edba51f4647f56b3559451f5fdbfbde04bc87828 (diff) | |
download | ghostpdl-5499169177746ec62d8440f193be418999f156d4.tar.gz |
Change GS_UNTOUCHED_TAG to 0 and GS_UNKNOWN_TAG to 0x40
This is mostly arbitrary, but it sort of makes more sense that UNTOUCHED
be 0 so any marking operation can just OR tag bits into the tag plane or
color (e.g. gdevp14.c).
This will change ALL bitrgbtags regression results.
Diffstat (limited to 'devices/gdevbit.c')
-rw-r--r-- | devices/gdevbit.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/devices/gdevbit.c b/devices/gdevbit.c index 9fbda1b75..dcacd8f3f 100644 --- a/devices/gdevbit.c +++ b/devices/gdevbit.c @@ -547,12 +547,15 @@ bittag_open(gx_device * pdev) return code; } -/* fill the page fills with unmarked white */ +/* + * Fill the page fills with unmarked white, As with the pdf14 device, we treat + * GS_UNTOUCHED_TAG == 0 as an invariant +*/ static int bittag_fillpage(gx_device *dev, gs_gstate * pgs, gx_device_color *pdevc) { return (*dev_proc(dev, fill_rectangle))(dev, 0, 0, dev->width, dev->height, - GS_UNTOUCHED_TAG << 24 | 0xffffff); + 0x00ffffff); /* GS_UNTOUCHED_TAG == 0 */ } static int |