diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2016-07-04 09:28:06 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2017-05-29 17:48:52 +0100 |
commit | 7918a01dd37bc383e61ae0b237341e69286dc83c (patch) | |
tree | 8d2918a0c7bb87f5ba7291fd2d4a30f61830bdf3 /psi/int.mak | |
parent | 2e2a9d851c73192739c9227ef0030f3ba3e7b6fd (diff) | |
download | ghostpdl-7918a01dd37bc383e61ae0b237341e69286dc83c.tar.gz |
PDF interpreter - Move ExtGState parameters into the regular graphics state
Bug #696511 - "Move ExtGState parameters into the regular graphics state"
A long time ago a decision was made not to replicate the PDF ExtGstate
parameters in the graphics state. This has had long term painful consequences
because we were unable to do a gsave/grestore to simply preserve
parameters but had to jump throuhg a lot of hoops. Amongst other problems
has been confusion over when exactly a change in colour has taken place.
With this commit the ExtGState parameters are moved into the graphics state
and obey gsave and grestore.
This extensive commit was worked on in the PDF_gstate branch and the history
is preserved in that branch.
This does introduce a few differences in the test suite;
There are a few cases where broken files (recursive SMasks) now render
slightly differently.
Some files now exhibit progressions, especially with CMYK or DeviceN output
devices, this is because the 'default' colour space was incorrect, the code
was using DeviceGray instead of the device's colour space, and this makes
a difference for some types of transparency blending when the Group does
not specify a Blending space.
A few other files demonstrate progressions because a change in colour now
takes place before an error occurs.
Diffstat (limited to 'psi/int.mak')
-rw-r--r-- | psi/int.mak | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psi/int.mak b/psi/int.mak index c226bac3d..8adef83f1 100644 --- a/psi/int.mak +++ b/psi/int.mak @@ -571,7 +571,7 @@ Z5_6OPS=zmisc_a zmisc_b zpacked zrelbit zstack zstring zsysvm Z7_8OPS=ztoken ztype zvmem zbfont zchar_a zchar_b zcolor zcolor_ext Z9OPS=zdevice zdevice_ext zfont zfontenum zgstate1 zgstate2 zgstate3 Z10OPS=zdfilter zht zimage zmatrix zmatrix2 -Z11OPS=zpaint zpath pantone +Z11OPS=zpaint zpath pantone zcolor_pdf # We have to be a little underhanded with *config.$(OBJ) so as to avoid # circular definitions. INT_MAIN=$(PSOBJ)imain.$(OBJ) $(PSOBJ)imainarg.$(OBJ) $(GLOBJ)gsargs.$(OBJ) $(PSOBJ)idisp.$(OBJ) @@ -1761,7 +1761,7 @@ transread_=$(PSOBJ)ztrans.$(OBJ) $(PSD)transpar.dev : $(ECHOGS_XE)\ $(PSD)psl2read.dev $(GLD)translib.dev $(transread_) $(INT_MAK) $(MAKEDIRS) $(SETMOD) $(PSD)transpar $(transread_) - $(ADDMOD) $(PSD)transpar -oper ztrans1 ztrans2 + $(ADDMOD) $(PSD)transpar -oper ztrans1 ztrans2 ztrans3 $(ADDMOD) $(PSD)transpar -include $(PSD)psl2read $(GLD)translib $(PSOBJ)ztrans.$(OBJ) : $(PSSRC)ztrans.c $(OP) $(memory__h) $(string__h)\ |