summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otfl-font-nms.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index a3bc7e1..e40aa32 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -355,7 +355,7 @@ local function load_font(filename, fontnames, newfontnames, texmf)
newstatus[basefile].timestamp = timestamp
newstatus[basefile].index = newstatus[basefile].index or { }
- if db_timestamp == timestamp then
+ if db_timestamp == timestamp and not newstatus[basefile].index[1] then
for _,v in ipairs(status[basefile].index) do
local index = #newstatus[basefile].index
newmappings[#newmappings+1] = mappings[v]