summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-24 18:58:02 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-24 18:58:02 +0200
commit24a3ecb19d3ca204ac4432e8f2f0b2bf53954b05 (patch)
tree43de30ae2b5d8d1c06599e51c98538718a95a982 /luaotfload.dtx
parenta70a14dcbcdaf570bbc235a45c7fc5dc842efb11 (diff)
downloadluaotfload-24a3ecb19d3ca204ac4432e8f2f0b2bf53954b05.tar.gz
catch irregular ``file:`` lookups
we now index base names and extensionless base names of font files as well so as to work around quirks of the Xetex compatibility layer. this will probably get removed after the syntax parser is redone.
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx4
1 files changed, 3 insertions, 1 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index e265389..81f1873 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -1328,6 +1328,8 @@ add_to_callback("find_vf_file",
loadmodule"lib-dir.lua" --- required by luaofload-database.lua
loadmodule"override.lua" --- “luat-ovr”
+logs.set_loglevel(2)
+
% \end{macrocode}
% \CONTEXT does not support ofm, these lines were added in order to make it
% work. However they do not seem necessary so they are commented for now.
@@ -1399,7 +1401,7 @@ local define_font_wrapper = function (...)
--- definers.read
if stringfind(k, "Percent") then
-- keep percent values as is
- print(k,v)
+ --print(k,v)
mathconstants[k] = v
else
mathconstants[k] = v / units_per_em * size