summaryrefslogtreecommitdiff
path: root/luaotfload.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <megas.kapaneus@gmail.com>2013-04-10 12:28:36 +0200
committerPhilipp Gesang <megas.kapaneus@gmail.com>2013-04-10 12:28:36 +0200
commit223c4fbc3201ce3bd6e5e7ab4ba666e350d97f35 (patch)
treea502fc8180a894c67aef4e1f361bd306792e7d93 /luaotfload.lua
parent82141b63af85b266f0304db468dc60f3d18a4793 (diff)
downloadluaotfload-223c4fbc3201ce3bd6e5e7ab4ba666e350d97f35.tar.gz
make font patching work again with font definition wrapper
Diffstat (limited to 'luaotfload.lua')
-rw-r--r--luaotfload.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/luaotfload.lua b/luaotfload.lua
index 1bfca79..0a3b398 100644
--- a/luaotfload.lua
+++ b/luaotfload.lua
@@ -29,7 +29,14 @@ luaotfload.module = {
license = "CC0"
}
-luaotfload.old_font_definer = false --- toggle wrapper for font loader
+--[[doc--
+No final decision has been made on how to handle font definition.
+At the moment, there are three candidates: The \textsf{generic}
+callback as hard-coded in the font loader, the \textsf{old} wrapper,
+and a simplified version of the latter (\textsf{patch}) that does
+nothing besides applying font patches.
+--doc]]--
+luaotfload.font_definer = "patch" --- | “generic” | “old”
local fl_prefix = "otfl" -- “luatex” for luatex-plain