summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-07-27 01:15:26 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-07-27 01:15:26 +0200
commitc2ee46eb5b2cecfa08c7d31f57e0c46d2457ad36 (patch)
tree91f4c6f0de030841f9edeecd0e227fd7b8543257
parent9daf6699e10df529ad035a0a8a89451d74ee6fbf (diff)
downloadluaotfload-c2ee46eb5b2cecfa08c7d31f57e0c46d2457ad36.tar.gz
[features] remove check preventing application of features to TFM files
-rw-r--r--src/luaotfload-features.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index b432022..0af59fb 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -2068,11 +2068,12 @@ local install_extra_features = function (data, filename, raw)
end
local format = data.format
if not format then
+ --- font not fully loaded, happens with TFM/PFB
logreport ("both", 4, "features",
- "no format info for font “%s”/“%s”; not \z
+ "no format info for font “%s”; not \z
installing extra features.",
- fontname, filename)
- return
+ filename)
+ --return
end
for feature, specification in next, extrafeatures do
if not fontname then fontname = "<unknown>" end