summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-12-30 13:27:26 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-12-30 13:27:26 +0000
commit72302aa0da9642ddd0adcc525b351b5eeca9a445 (patch)
tree120181895457320be7686cef15a2c134796db8ff
parentc9c04cd28f14c1e65740d1910d4080240d56c468 (diff)
texk/dvipdfm-x: patches by S. Hirata
git-svn-id: svn://tug.org/texlive/trunk@39240 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog4
-rw-r--r--Build/source/texk/dvipdfm-x/epdf.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 4c901a06862..790815fd993 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,5 +1,9 @@
2015-12-30 Shunsaku Hirata <shunsaku.hirata74@gmail.com>
+ * epdf.c: Fix in handling of page number for XeTeX.
+
+2015-12-30 Shunsaku Hirata <shunsaku.hirata74@gmail.com>
+
* epdf.[ch], pdfdoc.[ch], pdfximage.[ch],
spc_{dvips,html,misc,pdfm,util}.c, spc_util.h: Don't use global variables
for selecting boundary box. Cleanups.
diff --git a/Build/source/texk/dvipdfm-x/epdf.c b/Build/source/texk/dvipdfm-x/epdf.c
index 411534ca5f7..a4feef29ca4 100644
--- a/Build/source/texk/dvipdfm-x/epdf.c
+++ b/Build/source/texk/dvipdfm-x/epdf.c
@@ -418,6 +418,8 @@ pdf_include_page (pdf_ximage *ximage,
pdf_ximage_init_form_info(&info);
+ if (options.page_no == 0)
+ options.page_no = 1;
page = pdf_doc_get_page(pf,
options.page_no, options.bbox_type,
&info.bbox, &resources);