summaryrefslogtreecommitdiff
path: root/luaotfload-auxiliary.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-05 20:52:25 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-05 20:52:25 +0100
commit74207efa91378a06eea07e24f65346e9e4a4eb3c (patch)
tree3521aac1fc7a28ff2a1c971eca94cf36ec53c06e /luaotfload-auxiliary.lua
parent9dc36bf3fc8a076d53b8abcb35c9c86f167a2d3a (diff)
parentc05e323e497d7d8e3befb371d6b78e1f91be83d9 (diff)
downloadluaotfload-74207efa91378a06eea07e24f65346e9e4a4eb3c.tar.gz
Merge branch 'font-matching'
Conflicts: NEWS luaotfload-database.lua luaotfload-override.lua luaotfload.dtx
Diffstat (limited to 'luaotfload-auxiliary.lua')
-rw-r--r--luaotfload-auxiliary.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/luaotfload-auxiliary.lua b/luaotfload-auxiliary.lua
index 311fae9..7daf367 100644
--- a/luaotfload-auxiliary.lua
+++ b/luaotfload-auxiliary.lua
@@ -677,6 +677,8 @@ aux.sprint_math_dimension = sprint_math_dimension
local namesresolve = fonts.names.resolve
local namesscan_dir = fonts.names.scan_dir
+--[====[-- TODO -> port this to new db model
+
--- local directories -------------------------------------------------
--- migrated from luaotfload-database.lua
@@ -684,7 +686,7 @@ local namesscan_dir = fonts.names.scan_dir
--- string -> (int * int)
local scan_external_dir = function (dir)
- local old_names, new_names = names.data
+ local old_names, new_names = names.data()
if not old_names then
old_names = load_names()
end
@@ -701,6 +703,12 @@ end
aux.scan_external_dir = scan_external_dir
+--]====]--
+
+aux.scan_external_dir = function ()
+ print "ERROR: scan_external_dir() is not implemented"
+end
+
--- db queries --------------------------------------------------------
--- https://github.com/lualatex/luaotfload/issues/74