summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/pdfdoc.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2020-07-10 22:35:48 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2020-07-10 22:35:48 +0000
commit9bd62c7e658fe2f8d78228439dde0de39acc88b0 (patch)
tree12d7e5e47afb74e6fb86e76f258e2ee9645e5a9c /Build/source/texk/dvipdfm-x/pdfdoc.c
parent892e00cc27f5e53e641e2c843fbf7edf409d98a7 (diff)
Introduce ExtGState stack and pdf:[be]xgstate special. (S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@55804 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfdoc.c')
-rw-r--r--Build/source/texk/dvipdfm-x/pdfdoc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfdoc.c b/Build/source/texk/dvipdfm-x/pdfdoc.c
index 3b5ac18661a..1658e6415f8 100644
--- a/Build/source/texk/dvipdfm-x/pdfdoc.c
+++ b/Build/source/texk/dvipdfm-x/pdfdoc.c
@@ -2717,6 +2717,7 @@ pdf_doc_begin_grabbing (const char *ident,
*/
pdf_dev_reset_fonts(1);
pdf_dev_reset_color(1); /* force color operators to be added to stream */
+ pdf_dev_reset_xgstate(1);
return xobj_id;
}
@@ -2763,6 +2764,7 @@ pdf_doc_end_grabbing (pdf_obj *attrib)
pdf_dev_reset_fonts(1);
pdf_dev_reset_color(0);
+ pdf_dev_reset_xgstate(0);
RELEASE(fnode);