From 109d0b5c76cf614385482b6efd52fca9c76c1cfa Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Wed, 4 May 2016 20:44:44 +0200 Subject: [features] prevent database reload upon referencing a combination Defining a combination did not override the default file: lookup so every font defined that way will at font embedding time trigger a reload of the index on account of a missing file. Setting the ``combo:`` lookup will prevent the issue. --- src/luaotfload-features.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua index cb3849c..5152fab 100644 --- a/src/luaotfload-features.lua +++ b/src/luaotfload-features.lua @@ -189,6 +189,7 @@ local handle_combination = function (combo, spec) " *> font %d / %d: imported %d glyphs into combo.", i, nc, cnt) end + spec.lookup = "combo" spec.file = basefnt.filename spec.name = stringformat ("luaotfload<%d>", defined_combos) spec.features = { normal = { spec.specification } } -- cgit v1.2.3