[latex3-commits] [latex2e-public] r1286 - luaotfload calbacks

noreply at latex-project.org noreply at latex-project.org
Mon Dec 5 00:46:57 CET 2016


Author: carlisle
Date: 2016-12-05 00:46:57 +0100 (Mon, 05 Dec 2016)
New Revision: 1286

Modified:
   trunk/base/testfiles/tlb-callbacks-001.lvt
Log:
luaotfload calbacks

Modified: trunk/base/testfiles/tlb-callbacks-001.lvt
===================================================================
--- trunk/base/testfiles/tlb-callbacks-001.lvt	2016-12-04 22:10:15 UTC (rev 1285)
+++ trunk/base/testfiles/tlb-callbacks-001.lvt	2016-12-04 23:46:57 UTC (rev 1286)
@@ -7,14 +7,23 @@
 %% Test to check the callback list (if this changes, update ltluatex)
 
 
+
 \directlua{
+%
+ local expected_user_callbacks={}
+%
+% curent luaotfload user-callbacks
+ expected_user_callbacks['luaotfload.patch_font_unsafe']=1
+ expected_user_callbacks['luaotfload.resolve_font']=1
+ expected_user_callbacks['luaotfload.patch_font']=1
+
   for i,_ in pairs(callback.list()) do
     if  i \string~= 'char_exists' and luatexbase.callbacktypes[i] == nil then
       texio.write_nl("- " .. i)
     end
   end
   for i,_ in pairs(luatexbase.callbacktypes) do
-    if callback.list()[i] == nil then
+    if callback.list()[i] == nil and expected_user_callbacks[i] ==nil then
       texio.write_nl("+ " .. i)
     end
   end



More information about the latex3-commits mailing list