summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luaotfload-init.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/luaotfload-init.lua b/src/luaotfload-init.lua
index f1d1a8e..5b21d70 100644
--- a/src/luaotfload-init.lua
+++ b/src/luaotfload-init.lua
@@ -292,7 +292,11 @@ local init_main = function ()
or "reference"
fontloader = tostring (fontloader)
- if fontloader == "unpackaged" then
+ if fontloader == "reference" or fontloader == "default" then
+ logreport ("log", 4, "init", "Using reference fontloader.")
+ load_fontloader_module (luaotfload.fontloader_package)
+
+ elseif fontloader == "unpackaged" then
logreport ("both", 4, "init",
"Loading fontloader components individually.")
--- The loading sequence is known to change, so this might have to be
@@ -359,7 +363,7 @@ local init_main = function ()
fontloader, path)
local _void = require (path)
- else --- “reference”, “default”
+ else
logreport ("log", 6, "init",
"No match for fontloader spec “%s”.",
fontloader)
@@ -372,6 +376,9 @@ local init_main = function ()
---load_fontloader_module "font-odv.lua" --- <= Devanagari support from Context
+ logreport ("both", 0, "init",
+ "Context OpenType loader version “%s”",
+ fonts.handlers.otf.version)
end --- [init_main]
local init_cleanup = function (store)