diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-01-16 22:00:11 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-01-16 22:00:11 +0200 |
commit | 5bb48cef684db6e67d01064ad957fd6012c4225c (patch) | |
tree | ec97327c56dc1e76150d9011a338d6119d4e5630 /luaotfload-fonts.lua | |
parent | 845f403084dd29203ed6e66701a13708f7be365b (diff) | |
download | luaotfload-5bb48cef684db6e67d01064ad957fd6012c4225c.tar.gz |
Prefer names.prefmodifiers over names.subfamily
This fixes style checking for many correctly named fonts, but breaks
crappy fonts like LM and MnSymbol, both aren't a priority for me.
Diffstat (limited to 'luaotfload-fonts.lua')
-rw-r--r-- | luaotfload-fonts.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luaotfload-fonts.lua b/luaotfload-fonts.lua index 809f884..36cd068 100644 --- a/luaotfload-fonts.lua +++ b/luaotfload-fonts.lua @@ -45,7 +45,7 @@ function fontloader.fullinfo(...) if v.lang == "English (US)" then n.name = v.names.compatfull or v.names.fullname n.family = v.names.preffamilyname or v.names.family - n.style = v.names.subfamily or v.names.prefmodifiers + n.style = v.names.prefmodifiers or v.names.subfamily end end end |