summaryrefslogtreecommitdiff
path: root/src/luaotfload-features.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-07-15 08:11:02 +0200
committerGitHub <noreply@github.com>2016-07-15 08:11:02 +0200
commitdeef74c357ff2f88d53bc6a745b36b6a75717d2d (patch)
treeda831e4f6305f78e7bc1e26a8b9eecede25d4cca /src/luaotfload-features.lua
parent8bb332a20022d100dcbd64fc416a35673a0ba879 (diff)
parentb1ca1874fc12611b98c3155fe3d197bdaf77c273 (diff)
downloadluaotfload-deef74c357ff2f88d53bc6a745b36b6a75717d2d.tar.gz
Merge pull request #370 from phi-gamma/master
fix TFM loading
Diffstat (limited to 'src/luaotfload-features.lua')
-rw-r--r--src/luaotfload-features.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index 786f619..b432022 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -1259,6 +1259,8 @@ local handle_request = function (specification)
local subfont = tonumber (specification.sub)
if subfont and subfont >= 0 then
specification.sub = subfont + 1
+ else
+ specification.sub = false
end
return specification
end