summaryrefslogtreecommitdiff
path: root/otfl-font-clr.lua
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-05-10 22:51:05 +0200
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-05-10 23:38:27 +0200
commit05060aebf23d9262f43876060924d2dd95e56423 (patch)
tree3c25d5a16359329dbe413dd7a81393bbf26bb17d /otfl-font-clr.lua
parentdd322f3db2a1be5cf3e98e8ace51069d73a198c2 (diff)
downloadluaotfload-05060aebf23d9262f43876060924d2dd95e56423.tar.gz
Fix call to callback.add.
Diffstat (limited to 'otfl-font-clr.lua')
-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