summaryrefslogtreecommitdiff
path: root/tests/fontconfig_conf_reading.tex
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-27 18:26:21 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-27 18:26:21 +0200
commit9fceb52298c05c31666521b4226362322b18c178 (patch)
tree1fd1dd690b11060ba0782f10290be4d287cd3db7 /tests/fontconfig_conf_reading.tex
parent90c3c46541e8508982254ee43eff8983a0444e66 (diff)
downloadluaotfload-9fceb52298c05c31666521b4226362322b18c178.tar.gz
update fontconfig test
Diffstat (limited to 'tests/fontconfig_conf_reading.tex')
-rw-r--r--tests/fontconfig_conf_reading.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/fontconfig_conf_reading.tex b/tests/fontconfig_conf_reading.tex
index dbbbc3c..66ab377 100644
--- a/tests/fontconfig_conf_reading.tex
+++ b/tests/fontconfig_conf_reading.tex
@@ -1,6 +1,8 @@
\directlua{
-require("lualibs")
-require("otfl-font-nms.lua")
-texio.write_nl(table.serialize(fonts.names.read_fonts_conf("fonts.conf.test", {})))
+ config = { lualibs = { load_extended = false } }
+ require"lualibs"
+ require"luaotfload-database"
+ local results = fonts.names.read_fonts_conf{"fonts.conf.test"}
+ inspect(results)
}
\bye