diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-05-19 22:19:19 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2018-05-19 22:19:19 +0200 |
commit | 6a68bb9d4e7e8454b031143b9cd14edf3702a68d (patch) | |
tree | 14cb116ce0f1adc4459d6cea9aee07cacd3541fd /tex/generic | |
parent | 2e8819dad63db17febca68fd6b7ba9a06f9c50b5 (diff) | |
download | context-6a68bb9d4e7e8454b031143b9cd14edf3702a68d.tar.gz |
2018-05-19 21:51:00
Diffstat (limited to 'tex/generic')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-merged.lua | 18 |
1 files changed, 17 insertions, 1 deletions
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) |