summaryrefslogtreecommitdiff
path: root/src/luaotfload-main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luaotfload-main.lua')
-rw-r--r--src/luaotfload-main.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/luaotfload-main.lua b/src/luaotfload-main.lua
index fe27215..32eb04d 100644
--- a/src/luaotfload-main.lua
+++ b/src/luaotfload-main.lua
@@ -163,7 +163,9 @@ luaotfload.main = function ()
local starttime = os.gettimeofday ()
luaotfload.loaders = load_luaotfload_module "loaders" --- Font loading; callbacks
- luaotfload.loaders.install ()
+ if not luaotfload.loaders.install () then
+ logreport ("log", 0, "load", "Callback and loader initialization failed.")
+ end
load_luaotfload_module "database" --- Font management.
load_luaotfload_module "colors" --- Per-font colors.