diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-29 23:30:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-29 23:30:07 +0000 |
commit | fcab1a4ff78087e1ae77c2524bd51d7e26a55b9d (patch) | |
tree | de0ee2c6414f45d906878f46273bf2b5bddb20d2 /Master/texmf-dist/source/luatex | |
parent | 8401157479426d55d89e94764b6c6ddfc243fa35 (diff) |
luaotfload (29apr13)
git-svn-id: svn://tug.org/texlive/trunk@30170 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/luatex')
-rw-r--r-- | Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx b/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx index 3f312802ad4..c0489e342f1 100644 --- a/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx +++ b/Master/texmf-dist/source/luatex/luaotfload/luaotfload.dtx @@ -645,6 +645,15 @@ end --fonts.define.resolvers.file = fonts.define.resolvers.name % \end{macrocode} % +% We override the cleanname function as it outputs garbage for exotic font +% names +% +% \begin{macrocode} +containers.cleanname = function (name) + return (string.gsub(string.lower(name),"[^%w%d\128\255]+","-")) +end +% \end{macrocode} +% % Overriding some defaults set in \context code. % % \begin{macrocode} |