texlive[47678] Build/source/texk/web2c/xetexdir: Allow non-ascii

commits+kakuto at tug.org commits+kakuto at tug.org
Fri May 11 06:54:53 CEST 2018


Revision: 47678
          http://tug.org/svn/texlive?view=revision&revision=47678
Author:   kakuto
Date:     2018-05-11 06:54:52 +0200 (Fri, 11 May 2018)
Log Message:
-----------
Allow non-ascii image names in XeTeX (w32 only)

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/xetexdir/ChangeLog
    trunk/Build/source/texk/web2c/xetexdir/XeTeX_pic.c

Modified: trunk/Build/source/texk/web2c/xetexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/xetexdir/ChangeLog	2018-05-11 04:38:12 UTC (rev 47677)
+++ trunk/Build/source/texk/web2c/xetexdir/ChangeLog	2018-05-11 04:54:52 UTC (rev 47678)
@@ -1,3 +1,7 @@
+2018-05-11  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
+
+	* XeTeX_pic.c: Allow non-ascii image names (W32 only).
+
 2018-03-24  Hironobu Yamashita <h.y.acetaminophen at gmail.com>
             Hironori Kitagawa  <h_kitagawa2001 at yahoo.co.jp>
 

Modified: trunk/Build/source/texk/web2c/xetexdir/XeTeX_pic.c
===================================================================
--- trunk/Build/source/texk/web2c/xetexdir/XeTeX_pic.c	2018-05-11 04:38:12 UTC (rev 47677)
+++ trunk/Build/source/texk/web2c/xetexdir/XeTeX_pic.c	2018-05-11 04:54:52 UTC (rev 47678)
@@ -76,6 +76,12 @@
 	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)
 {



More information about the tex-live-commits mailing list