summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
diff options
context:
space:
mode:
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r--luaotfload-database.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua
index cfcd27c..584e9ad 100644
--- a/luaotfload-database.lua
+++ b/luaotfload-database.lua
@@ -1278,6 +1278,7 @@ local loaders = {
return false
end,
pfb = t1_fullinfo,
+ pfa = t1_fullinfo,
}
--- we return true if the fond is new or re-indexed
@@ -1550,7 +1551,7 @@ do
set_font_filter = function (formats)
- if not formats and type (formats) == "string" then
+ if not formats or type (formats) ~= "string" then
return
end