summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-06-02 03:28:32 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-06-02 03:28:32 +0200
commit7f3ff49d11203c81c8670e03bbb928478bb99cdc (patch)
tree841ca2c9bda3f76971877766a3b300f5d2a5821b /luaotfload.dtx
parent9cdf846537280dc9661b1ed88a58eb763b237d1d (diff)
downloadluaotfload-7f3ff49d11203c81c8670e03bbb928478bb99cdc.tar.gz
update dtx with current luaotfload.lua
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx8
1 files changed, 4 insertions, 4 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index 7beca09..095ac23 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -1437,8 +1437,9 @@ config.luaotfload = config.luaotfload or { }
config.luaotfload.resolver = config.luaotfload.resolver or "cached"
config.luaotfload.definer = config.luaotfload.definer or "patch"
config.luaotfload.compatibility = config.luaotfload.compatibility or false
-config.luaotfload.loglevel = config.luaotfload.loglevel or 1
+config.luaotfload.loglevel = config.luaotfload.loglevel or 1
config.luaotfload.color_callback = config.luaotfload.color_callback or "pre_linebreak_filter"
+config.luaotfload.prioritize = config.luaotfload.prioritize or "sys"
--luaotfload.prefer_merge = config.luaotfload.prefer_merge or true
luaotfload.module = {
@@ -1821,7 +1822,7 @@ formats.ofm = "type1"
local resolvefile = fonts.names.crude_file_lookup
--local resolvefile = fonts.names.crude_file_lookup_verbose
-function request_resolvers.file(specification)
+request_resolvers.file = function (specification)
local name = resolvefile(specification.name)
local suffix = file.suffix(name)
if formats[suffix] then
@@ -1832,7 +1833,6 @@ function request_resolvers.file(specification)
end
end
-
% \end{macrocode}
% We classify as \verb|anon:| those requests that have neither a
% prefix nor brackets. According to Khaled\footnote{%
@@ -1981,7 +1981,7 @@ local patch_defined_font = function (specification, size, id)
--- We need to test for the “shared” field here
--- or else the fontspec capheight callback will
--- operate on tfm fonts.
- call_callback("luaotfload.patch_font", tfmdata)
+ call_callback("luaotfload.patch_font", tfmdata, specification)
end
return tfmdata
end