summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/luafontloader
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-03-11 12:12:57 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-03-11 12:12:57 +0000
commitb6607d1a70f236fc9f671ce2621978a410e649b1 (patch)
tree57ad797c7a6b132d736a9f15d00eec5e6ebd2a13 /Build/source/texk/web2c/luatexdir/luafontloader
parent7cd1d4e0b78e2897415639c5ac54d796c6cb626e (diff)
web2c/luatexdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@39996 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luafontloader')
-rw-r--r--Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c b/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c
index afbf08520d4..d2cf7bea15c 100644
--- a/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c
+++ b/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c
@@ -1928,6 +1928,16 @@ static void handle_splinefont(lua_State * L, struct splinefont *sf)
dump_intfield(L, "glyphcnt", 0);
}
+ if (sf->names != NULL) {
+ /*
+ this is not the best way to determine it but for now it will do; otherwise
+ we need to mess with the ff library
+ */
+ lua_pushstring(L, "truetype");
+ lua_pushboolean(L, 1);
+ lua_rawset(L, -3);
+ }
+
dump_intfield(L, "glyphmax", sf->glyphmax - 1);
dump_intfield(L, "glyphmin", sf->glyphmin);
dump_intfield(L, "units_per_em", sf->units_per_em);