summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luaotfload-database.lua3
-rw-r--r--luaotfload.dtx2
2 files changed, 3 insertions, 2 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
diff --git a/luaotfload.dtx b/luaotfload.dtx
index f23be81..4802844 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -1545,7 +1545,7 @@ config.luaotfload.prioritize = config.luaotfload.prioritize or "sys"
config.luaotfload.names_dir = config.luaotfload.names_dir or "names"
config.luaotfload.cache_dir = config.luaotfload.cache_dir or "fonts"
config.luaotfload.index_file = config.luaotfload.index_file or "luaotfload-names.lua"
-config.luaotfload.include_t1 = config.luaotfload.include_t1 or false
+config.luaotfload.formats = config.luaotfload.formats or "otf,ttf,ttc,dfont"
luaotfload.module = {
name = "luaotfload",