summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-24 22:40:07 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-24 22:40:07 +0200
commit988854282eb83a9c8bdcc0f97ac85937bb8f9ff8 (patch)
treed2c31143fef64e68d670775db21eba286f4a5793 /luaotfload.dtx
parent235b68364730dfc19927d8618fab3d0ff5e56ab3 (diff)
downloadluaotfload-988854282eb83a9c8bdcc0f97ac85937bb8f9ff8.tar.gz
make db reloading require a reason; decrease nesting depth of conditionals
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx16
1 files changed, 12 insertions, 4 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index 81f1873..18e01d8 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -1328,7 +1328,7 @@ add_to_callback("find_vf_file",
loadmodule"lib-dir.lua" --- required by luaofload-database.lua
loadmodule"override.lua" --- “luat-ovr”
-logs.set_loglevel(2)
+logs.set_loglevel(0)
% \end{macrocode}
% \CONTEXT does not support ofm, these lines were added in order to make it
@@ -1351,9 +1351,17 @@ loadmodule"colors.lua" --- “font-clr”
% \end{macrocode}
% This hack makes fonts called with file method found by fonts.names.resolve
-% instead of just trying to find them with kpse. It is necessary in case
-% of fonts that are not accessible by kpse but present in the database, a
-% quite common case under Linux.
+% instead of just trying to find them with \identifier{kpse}.
+% It is necessary in cases when font files are not reachable by
+% \identifier{kpse} but present in the database, a quite common case
+% under Linux.
+%
+% As of 2013-04-24 we have a workaround in the resolver that handles
+% \verb|file:| lookups diverted this way.
+% It requires some overhead due to additional extra data saved in the
+% names database, and might vanish entirely once the font request syntax
+% is understood.
+% Until then it is considered a kludge, like the hack below.
%
% \begin{macrocode}