From 71eb6250e1971b7ead98f6d91a7d325597730ebe Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 2 Jul 2013 12:42:10 +0200 Subject: treat psname matches as second-tier (fixes cambria) --- luaotfload-database.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'luaotfload-database.lua') diff --git a/luaotfload-database.lua b/luaotfload-database.lua index 1f8f34a..7baa92a 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -769,9 +769,7 @@ resolve = function (_, _, specification) -- the 1st two parameters are used by C or name == fontname or name == psname then - local continue - exact, continue = add_to_match(exact, askedsize, face) - if continue == false then break end + synonymous, continue = add_to_match(synonymous, askedsize, face) elseif synonym_set[style] and (synonym_set[style][prefmodifiers] or synonym_set[style][subfamily]) -- cgit v1.2.3