summaryrefslogtreecommitdiff
path: root/luaotfload-auxiliary.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-06 09:42:36 -0800
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-06 09:42:36 -0800
commit90e060ed1717f6a14cf06bc394cf857782a7c140 (patch)
tree93fd2a149fbaf64938513d4e991414eeb4c3bd80 /luaotfload-auxiliary.lua
parent456abb72080d2366bab301a1a2172f01ae70452b (diff)
parent19d57e135e09d9311d0e17c6f7c375a161b8c37f (diff)
downloadluaotfload-90e060ed1717f6a14cf06bc394cf857782a7c140.tar.gz
Merge pull request #145 from phi-gamma/master
move to new index format
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