diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-10-23 13:56:05 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-10-23 13:56:05 +0000 |
commit | ad026fedf0c389679d725d2ec0b831c1ff2c7fb3 (patch) | |
tree | 5f80b688bdfbdcd0a1137eac113bd99d838494da /Build | |
parent | 01935175da02cce2aadeceb8062112b2f9e2a5cb (diff) |
web2c/luatexdir/luafontloader/src/luafflib.c: Import patch for issue 730 by Hans.
git-svn-id: svn://tug.org/texlive/trunk@38695 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luafontloader/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c | 17 |
2 files changed, 13 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/ChangeLog b/Build/source/texk/web2c/luatexdir/luafontloader/ChangeLog index 7b9b0c48c7d..4e08ed5a240 100644 --- a/Build/source/texk/web2c/luatexdir/luafontloader/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/luafontloader/ChangeLog @@ -1,3 +1,7 @@ +2015-10-23 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * src/luafflib.c: Import patch for issue 730 by Hans. + 2015-10-08 Peter Breitenlohner <peb@mppmu.mpg.de> * fontforge/fontforge/splinefont.h. diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c b/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c index f932c3d9946..5cf5076bbcc 100644 --- a/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c +++ b/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c @@ -303,17 +303,18 @@ static int ff_apply_featurefile(lua_State * L) sf = check_isfont(L, 1); fname = xstrdup(luaL_checkstring(L, 2)); SFApplyFeatureFilename(*sf, fname); + recorder_record_input(fname); free(fname); if (gww_error_count > 0) { - int i; - lua_newtable(L); - for (i = 0; i < gww_error_count; i++) { - lua_pushstring(L, gww_errors[i]); - lua_rawseti(L, -2, (i + 1)); - } - gwwv_errors_free(); + int i; + lua_newtable(L); + for (i = 0; i < gww_error_count; i++) { + lua_pushstring(L, gww_errors[i]); + lua_rawseti(L, -2, (i + 1)); + } + gwwv_errors_free(); } else { - lua_pushnil(L); + lua_pushnil(L); } return 1; } |