From c2b8e7880bf64a76529d96d87f86830c6678c2c3 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 22 Sep 2013 05:17:04 +0000 Subject: 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 --- Master/bin/win32/runscript.tlu | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Master') 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' -- cgit v1.2.3