summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otfl-font-clr.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-clr.lua b/otfl-font-clr.lua
index 83eea5a..e1f0faa 100644
--- a/otfl-font-clr.lua
+++ b/otfl-font-clr.lua
@@ -149,7 +149,7 @@ local color_callback_activated = 0
function add_color_callback()
if color_callback_activated == 0 then
- callback.add("pre_output_filter", font_colorize, "loaotfload.colorize")
+ luatexbase.add_to_callback("pre_output_filter", font_colorize, "loaotfload.colorize")
color_callback_activated = 1
end
end