summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-27 03:09:21 -0700
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-27 03:09:21 -0700
commit5649f93c8847b0721ab2f70a0ebc45a1659f533d (patch)
tree46b47d71e5275743787be46d37affec57e53ae4b /tests
parentba002a79408a2c5384c906675a035f7aa819fcdf (diff)
parent2ebaa29db6309416a358fef692d5d35c48e9377c (diff)
downloadluaotfload-5649f93c8847b0721ab2f70a0ebc45a1659f533d.tar.gz
Merge pull request #12 from lualatex/texlive2011
Texlive2011
Diffstat (limited to 'tests')
-rw-r--r--tests/fontconfig_conf_reading.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/fontconfig_conf_reading.tex b/tests/fontconfig_conf_reading.tex
index dbbbc3c..7ffda02 100644
--- a/tests/fontconfig_conf_reading.tex
+++ b/tests/fontconfig_conf_reading.tex
@@ -1,6 +1,9 @@
\directlua{
require("lualibs")
require("otfl-font-nms.lua")
-texio.write_nl(table.serialize(fonts.names.read_fonts_conf("fonts.conf.test", {})))
+local res = fonts.names.read_fonts_conf("fonts.conf.test", {}, {})
+if res then
+ texio.write_nl(table.serialize(res))
+end
}
\bye