summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otfl-font-nms.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index ee9fa33..b62f5ec 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -243,6 +243,9 @@ font database created by the mkluatexfontdb script.
--- successful lookup as this cannot be inferred from the other
--- values.
---
+--- TODO: this function is used also with the file lookup, it could be optimized
+--- a lot for this case.
+---
resolve = function (_,_,specification) -- the 1st two parameters are used by ConTeXt
local name = sanitize_string(specification.name)
local style = sanitize_string(specification.style) or "regular"