From 4d0d2c19ab36d4918a72041a087fbcb451ac8c52 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 25 Apr 2013 10:35:05 +0200 Subject: more reliable guard for Libertine Mono --- luaotfload-database.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'luaotfload-database.lua') 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 -- cgit v1.2.3