summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_pic.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog
index 2c992d950b3..f1853066699 100644
--- a/Build/source/texk/web2c/xetexdir/ChangeLog
+++ b/Build/source/texk/web2c/xetexdir/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * XeTeX_pic.c: Allow non-ascii image names (W32 only).
+
2018-03-24 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_pic.c b/Build/source/texk/web2c/xetexdir/XeTeX_pic.c
index aa5544e3863..237e7afcb8e 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeX_pic.c
+++ b/Build/source/texk/web2c/xetexdir/XeTeX_pic.c
@@ -76,6 +76,12 @@ countpdffilepages(void)
return full path in *path
return bounds (tex points) in *bounds
*/
+
+#ifdef _WIN32
+#undef fopen
+#define fopen fsyscp_fopen
+#endif
+
int
find_pic_file(char** path, realrect* bounds, int pdfBoxType, int page)
{