diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-08-11 14:46:40 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-08-11 14:46:40 +0200 |
commit | 01440ae8999ee20351f0538792e415ade8cd3d5c (patch) | |
tree | c584f971a45a08be431ec25a61417beaf088fcc5 /tex/context/base/mkiv/font-sel.lua | |
parent | bfc7bd2349855039534e8854a97c47864b1eba09 (diff) | |
download | context-01440ae8999ee20351f0538792e415ade8cd3d5c.tar.gz |
2016-08-11 14:00:00
Diffstat (limited to 'tex/context/base/mkiv/font-sel.lua')
-rw-r--r-- | tex/context/base/mkiv/font-sel.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/font-sel.lua b/tex/context/base/mkiv/font-sel.lua index 003b708c6..f176fc17f 100644 --- a/tex/context/base/mkiv/font-sel.lua +++ b/tex/context/base/mkiv/font-sel.lua @@ -296,7 +296,9 @@ local function m_style_family(family) end local function m_style_subfamily(entries,style,family) - local t = { } + local t = { } + local style = cleanname(style) + local family = cleanname(family) for index, entry in next, entries do if entry["familyname"] == family and entry["subfamilyname"] == style then -- familyname + subfamilyname t[#t+1] = entry |