diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-28 08:41:40 -0700 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-28 08:41:40 -0700 |
commit | 9e9de013edb9c5e9eba3903d374263dc8223668d (patch) | |
tree | 74bb4677af32002b364c9c192e9ac25d6ef18906 /luaotfload.dtx | |
parent | 2ebaa29db6309416a358fef692d5d35c48e9377c (diff) | |
parent | 8d98cfd5c26880df501ce68e599feb35081f245d (diff) | |
download | luaotfload-9e9de013edb9c5e9eba3903d374263dc8223668d.tar.gz |
Merge pull request #15 from eroux/texlive2011v1.3
Should we release this 1.3?
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r-- | luaotfload.dtx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx index 3f31280..c0489e3 100644 --- a/luaotfload.dtx +++ b/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} |