diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfximage.h | 3 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/spc_pdfm.c | 8 |
3 files changed, 6 insertions, 10 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 412232ffb93..e3958bdd884 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,8 @@ +2017-08-25 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * pdfximage.h, spc_pdfm.c: Remove MAX_IMAGES which is not + needed. + 2017-08-06 Shunsaku Hirata <shunsaku.hirata74@gmail.com> * dpxutil.[ch], epdf.c, pdfdoc.[ch], pdfximage.c, xbb.c: diff --git a/Build/source/texk/dvipdfm-x/pdfximage.h b/Build/source/texk/dvipdfm-x/pdfximage.h index 9e1897fb2ca..0d6dea0c407 100644 --- a/Build/source/texk/dvipdfm-x/pdfximage.h +++ b/Build/source/texk/dvipdfm-x/pdfximage.h @@ -1,6 +1,6 @@ /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. - Copyright (C) 2007-2016 by Jin-Hwan Cho and Shunsaku Hirata, + Copyright (C) 2007-2017 by Jin-Hwan Cho and Shunsaku Hirata, the dvipdfmx project team. Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks@kettering.edu> @@ -102,6 +102,5 @@ pdf_ximage_set_attr (int xobj_id, double llx, double lly, double urx, double ury); /* Migrated from pdfobj.h. Those are not PDF object related... */ -#define MAX_IMAGES 5000 /* This may be enough */ #endif /* _PDFXIMAGE_H_ */ diff --git a/Build/source/texk/dvipdfm-x/spc_pdfm.c b/Build/source/texk/dvipdfm-x/spc_pdfm.c index cad3ffe4768..37b0ee5b184 100644 --- a/Build/source/texk/dvipdfm-x/spc_pdfm.c +++ b/Build/source/texk/dvipdfm-x/spc_pdfm.c @@ -1028,14 +1028,6 @@ spc_handler_pdfm_image (struct spc_env *spe, struct spc_arg *args) return -1; } - if (xobj_id > MAX_IMAGES - 1) { - spc_warn(spe, "Too many images..."); - pdf_release_obj(fspec); - if (ident) - RELEASE(ident); - return -1; - } - if (!(ti.flags & INFO_DO_HIDE)) pdf_dev_put_image(xobj_id, &ti, spe->x_user, spe->y_user); |