summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-08-01 13:30:07 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-08-01 13:30:07 +0200
commit9865446898d33c24c2ca13a3fe4558f11d937d01 (patch)
tree75b20d8b080beec24e74dffb812f37eeeeda6986 /luaotfload-database.lua
parent6b230e2f951822095d9ea5b9fc12c4307b8581ea (diff)
downloadluaotfload-9865446898d33c24c2ca13a3fe4558f11d937d01.tar.gz
[db] treat .pfa like .pfb
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