diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2011-10-04 01:44:15 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2011-10-04 02:10:43 +0200 |
commit | 11daf48daa80703990105bd37ffcf339586120ea (patch) | |
tree | e78d631a4a279a1fbec641106f0a680ff4131cfd /otfl-font-def.lua | |
parent | d924d8b463f4f177a0e767f7eb80c443ce55582d (diff) | |
download | luaotfload-11daf48daa80703990105bd37ffcf339586120ea.tar.gz |
Patch otfl-font-def.lua, not yet working
Diffstat (limited to 'otfl-font-def.lua')
-rw-r--r-- | otfl-font-def.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-def.lua b/otfl-font-def.lua index 533d1ec..2c780ad 100644 --- a/otfl-font-def.lua +++ b/otfl-font-def.lua @@ -170,7 +170,7 @@ end function resolvers.name(specification) local resolve = fonts.names.resolve if resolve then - local resolved, sub = fonts.names.resolve(specification.name,specification.sub) + local resolved, sub = fonts.names.resolve(specification.name,specification.sub,specification) specification.resolved, specification.sub = resolved, sub if resolved then local suffix = file.suffix(resolved) @@ -189,7 +189,7 @@ end function resolvers.spec(specification) local resolvespec = fonts.names.resolvespec if resolvespec then - specification.resolved, specification.sub = fonts.names.resolvespec(specification.name,specification.sub) + specification.resolved, specification.sub = fonts.names.resolvespec(specification.name,specification.sub,specification) if specification.resolved then specification.forced = file.extname(specification.resolved) specification.name = file.removesuffix(specification.resolved) |