diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-29 14:52:53 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-29 14:52:53 +0200 |
commit | e79f34d859d48be485589f19fc6905afa5872a53 (patch) | |
tree | 1ac9aacf0256dd3bc89785a669a5f5d32d912670 /luaotfload.dtx | |
parent | 19164c39c9f98d9e51a13d5d698f575879f3dfee (diff) | |
download | luaotfload-e79f34d859d48be485589f19fc6905afa5872a53.tar.gz |
only cache ``name:`` lookups
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r-- | luaotfload.dtx | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx index abc737c..6392c64 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -540,8 +540,8 @@ and the derived files % \end{quote} % % \noindent -% If style modifiers are present (\XETEX style), they must precede \meta{font -% features}. +% If style modifiers are present (\XETEX style), they must precede +% \meta{font features}. % % The element \meta{font features} is a semicolon-separated list of feature % tags\footnote{% @@ -1532,19 +1532,6 @@ loadmodule"database.lua" --- “font-nms” 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 \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. -% % Relying on the \verb|name:| resolver for everything has been the source % of permanent trouble with the database. % With the introduction of the new syntax parser we now have enough @@ -1715,7 +1702,6 @@ local patch_defined_font = function (specification, size, id) if type(tfmdata) == "table" then call_callback("luaotfload.patch_font", tfmdata) end - -- inspect(table.keys(tfmdata)) return tfmdata end |