diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-05-11 04:54:52 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-05-11 04:54:52 +0000 |
commit | 5f75036849729a2695d3decfd9e8ba45ad5ca864 (patch) | |
tree | 93d75b00a135c7bf7168965562fec4417a77e925 /Build | |
parent | 15aab7c66f0d872fe3ce195673f7a9f485062615 (diff) |
Allow non-ascii image names in XeTeX (w32 only)
git-svn-id: svn://tug.org/texlive/trunk@47678 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeX_pic.c | 6 |
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) { |