diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-25 10:35:05 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-25 10:35:05 +0200 |
commit | 4d0d2c19ab36d4918a72041a087fbcb451ac8c52 (patch) | |
tree | 06512888b3781fec671901a356b95ce444c1a337 /luaotfload-database.lua | |
parent | c22e7fa7a129c4f3496753657d36b651ba6d1b39 (diff) | |
download | luaotfload-4d0d2c19ab36d4918a72041a087fbcb451ac8c52.tar.gz |
more reliable guard for Libertine Mono
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r-- | luaotfload-database.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua index 666172a..4044e8e 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -429,9 +429,13 @@ resolve = function (_,_,specification) -- the 1st two parameters are used by Con break end elseif subfamily == "regular" or - subfamily == "mono" or --> Libertine Mono O synonym_set.regular[subfamily] then found.fallback = face + elseif name == fullname then + --- happens with Libertine Mono which has + --- “mono” as subfamily + found[1] = face + break end else |