summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-25 10:35:05 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-25 10:35:05 +0200
commit4d0d2c19ab36d4918a72041a087fbcb451ac8c52 (patch)
tree06512888b3781fec671901a356b95ce444c1a337 /luaotfload-database.lua
parentc22e7fa7a129c4f3496753657d36b651ba6d1b39 (diff)
downloadluaotfload-4d0d2c19ab36d4918a72041a087fbcb451ac8c52.tar.gz
more reliable guard for Libertine Mono
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r--luaotfload-database.lua6
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