diff options
author | Norbert Preining <preining@logic.at> | 2013-09-22 05:17:04 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2013-09-22 05:17:04 +0000 |
commit | c2b8e7880bf64a76529d96d87f86830c6678c2c3 (patch) | |
tree | 86746f7a815c53a94eacb853db48ff8890390c16 /Master | |
parent | fd913b3e1a1229dd5052fbebad077e22ed206b04 (diff) |
add TEXMFDIST/fonts to gs_lib search path (Patch from Kuroki Yusuke)
git-svn-id: svn://tug.org/texlive/trunk@31727 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/bin/win32/runscript.tlu | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/bin/win32/runscript.tlu b/Master/bin/win32/runscript.tlu index baebdecc9cc..b4c124e0110 100755 --- a/Master/bin/win32/runscript.tlu +++ b/Master/bin/win32/runscript.tlu @@ -242,6 +242,8 @@ local docstr = [[ 2013/08/30
- do not pass -NULL to dviout, to allow users changing and
saving settings. Patch by Yusuke KUROKI
+ 2013/09/22
+ - add TEXMFDIST/fonts to the GS_LIB path. Patch by Yusuke KUROKI
]]
-- HELPER SUBROUTINES --
@@ -436,6 +438,7 @@ local lua_binary = arg[k] kpse.set_program_name(lua_binary, progname)
-- various dir-vars
local TEXDIR = kpse.var_value('SELFAUTOPARENT')
+local TEXMFDIST = kpse.var_value('TEXMFDIST')
local BINDIR = kpse.var_value('SELFAUTOLOC')
local PATH = os.getenv('PATH') or ''
-- restricted programs
@@ -506,7 +509,8 @@ if GSEXE then end
else
-- use built in gs
- os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts;'..os.getenv('WINDIR')..'/Fonts')
+ os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts;'
+ ..os.getenv('WINDIR')..'/Fonts'..TEXMFDIST..'/fonts')
os.setenv('GS_DLL', TEXDIR..'/tlpkg/tlgs/bin/gsdll32.dll')
GSEXE = TEXDIR..'/tlpkg/tlgs/bin/gswin32c.exe'
GSNAME = 'gswin32c.exe'
|