From 6a68bb9d4e7e8454b031143b9cd14edf3702a68d Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 19 May 2018 22:19:19 +0200 Subject: 2018-05-19 21:51:00 --- tex/generic/context/luatex/luatex-fonts-merged.lua | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'tex/generic/context') diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua index bba070be4..5e43f0026 100644 --- a/tex/generic/context/luatex/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : c:/data/develop/context/sources/luatex-fonts-merged.lua -- parent file : c:/data/develop/context/sources/luatex-fonts.lua --- merge date : 05/17/18 18:32:09 +-- merge date : 05/19/18 21:46:20 do -- begin closure to overcome local limits and interference @@ -27729,9 +27729,25 @@ do end local plugins={} otf.plugins=plugins +local report=logs.reporter("fonts") function otf.registerplugin(name,f) if type(name)=="string" and type(f)=="function" then plugins[name]={ name,f } + report() + report("plugin %a has been loaded, please be aware of possible side effects",name) + report() + if logs.pushtarget then + logs.pushtarget("log") + end + report("Plugins are not officially supported unless stated otherwise. This is because") + report("they bypass the regular font handling and therefore some features in ConTeXt") + report("(especially those related to fonts) might not work as expected or might not work") + report("at all. Some plugins are for testing and development only and might change") + report("whenever we feel the need for it.") + report() + if logs.poptarget then + logs.poptarget() + end end end function otf.plugininitializer(tfmdata,value) -- cgit v1.2.3