summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-05-04 20:44:44 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-05-04 20:44:47 +0200
commit109d0b5c76cf614385482b6efd52fca9c76c1cfa (patch)
treec94d2fbea5f88c39ea74f61cff1de2e264b9a2b0
parent45b6c12f7b08a2fed47263a94fbc76bd4b91302a (diff)
downloadluaotfload-109d0b5c76cf614385482b6efd52fca9c76c1cfa.tar.gz
[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.
-rw-r--r--src/luaotfload-features.lua1
1 files changed, 1 insertions, 0 deletions
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 } }